/* ==========================================================================
   PUBLIC PASSES & DYNAMIC CATEGORY STYLES
   ExamTier - All Test Series Pass & Category Pass Presentation
   ========================================================================== */

/* ALL TEST SERIES PASS BANNER */
.all-pass-section {
  max-width: 1280px;
  margin: 28px auto 0;
  padding: 0 24px;
}

.all-pass-banner {
  background: linear-gradient(135deg, #091a48 0%, #0f2b7a 50%, #173d9e 100%);
  border-radius: 24px;
  padding: 36px 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(11, 28, 80, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.all-pass-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 204, 0, 0.18) 0%, rgba(255, 204, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.all-pass-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 20%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(23, 105, 255, 0.25) 0%, rgba(23, 105, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.all-pass-content-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.all-pass-info {
  flex: 1 1 560px;
}

.all-pass-kicker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.all-pass-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ffb300, #ff8f00);
  color: #1a1200;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(255, 179, 0, 0.35);
}

.all-pass-validity-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.all-pass-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 10px;
  color: #ffffff;
  letter-spacing: -0.3px;
}

.all-pass-subtitle {
  font-size: 15px;
  line-height: 1.55;
  color: #cbd5e1;
  margin: 0 0 20px;
  max-width: 620px;
}

.all-pass-stats-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.all-pass-stat-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(4px);
}

.all-pass-stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #ffcc00;
}

.all-pass-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: #f8fafc;
}

/* ALL PASS PRICING & CTA COLUMN */
.all-pass-cta-card {
  flex: 0 0 320px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(10px);
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.all-pass-fest-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef08a;
  color: #854d0e;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.all-pass-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
}

.all-pass-regular-price {
  font-size: 16px;
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 500;
}

.all-pass-selling-price {
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.all-pass-discount-chip {
  display: inline-block;
  background: #22c55e;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}

.all-pass-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  margin-top: 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #ffcc00, #f59e0b);
  color: #0f172a;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: none;
  cursor: pointer;
}

.all-pass-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.all-pass-cta-btn.disabled,
.all-pass-cta-btn:disabled {
  background: #475569;
  color: #94a3b8;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   SHARED SECONDARY PASS DETAILS LINK
   ========================================================================== */
.pass-secondary-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  cursor: pointer;
  transition: opacity 0.15s ease, text-decoration-color 0.15s ease, color 0.15s ease;
}

.all-pass-details-link {
  margin-top: 12px;
  color: #cbd5e1;
}

.category-pass-details-link {
  color: #e2e8f0;
}

.pass-secondary-link:hover,
.all-pass-details-link:hover,
.category-pass-details-link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ==========================================================================
   BROWSE BY CATEGORY SECTION
   ========================================================================== */
.browse-categories-section {
  max-width: 1280px;
  margin: 40px auto 0;
  padding: 0 24px;
}

.section-head-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  gap: 16px;
}

.section-title-main {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}

.section-subtitle-main {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.category-browse-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.category-browse-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.category-browse-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.category-browse-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.category-browse-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.category-browse-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-browse-icon-wrap i {
  font-size: 20px;
  color: #2563eb;
}

.category-browse-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.category-browse-counts {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
}

.category-browse-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f3e8ff;
  color: #7e22ce;
  margin-bottom: 14px;
  align-self: flex-start;
}

.category-browse-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.category-browse-price-tag {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}

.category-browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.category-browse-card:hover .category-browse-btn {
  background: #2563eb;
  color: #ffffff;
}

/* ==========================================================================
   DYNAMIC CATEGORY PAGE VIEW
   ========================================================================== */
.dynamic-category-container {
  max-width: 1280px;
  margin: 24px auto 0;
  padding: 0 24px;
}

.category-view-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
}

.category-view-breadcrumb a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
}

.category-view-breadcrumb a:hover {
  text-decoration: underline;
}

.category-view-header {
  margin-bottom: 28px;
}

.category-view-title {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
  letter-spacing: -0.5px;
}

.category-view-subtitle {
  font-size: 15px;
  color: #64748b;
  margin: 0;
}

/* CATEGORY PASS HERO CARD */
.category-pass-hero-card {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 60%, #4338ca 100%);
  border-radius: 20px;
  padding: 32px;
  color: #ffffff;
  margin-bottom: 40px;
  box-shadow: 0 14px 36px rgba(49, 46, 129, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  overflow: hidden;
}

.category-pass-hero-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.category-pass-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.category-pass-card-info {
  flex: 1 1 500px;
}

.category-pass-scope-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #a78bfa;
  color: #1e1b4b;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.category-pass-card-title {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 10px;
  color: #ffffff;
}

.category-pass-card-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #cbd5e1;
  margin: 0 0 18px;
  max-width: 580px;
}

.category-pass-inclusions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.category-pass-inclusion-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-pass-inclusion-pill i {
  color: #a78bfa;
}

.category-pass-card-cta {
  flex: 0 0 280px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.category-pass-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  margin-top: 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: #ffffff;
  color: #312e81;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.category-pass-btn:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.category-pass-btn.disabled,
.category-pass-btn:disabled {
  background: #64748b;
  color: #cbd5e1;
  cursor: not-allowed;
  transform: none;
}

/* SECTION FOR INDIVIDUAL SINGLE EXAMS */
.single-exams-subheading {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px;
}

.single-exams-desc {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 20px;
}

.single-exams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.single-exam-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.single-exam-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.single-exam-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.single-exam-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  flex-shrink: 0;
}

.single-exam-logo img {
  max-width: 42px;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.single-exam-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
  line-height: 1.35;
}

.single-exam-stage-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: #eff6ff;
  color: #1d4ed8;
}

.single-exam-metrics {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
}

.single-exam-metrics span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.single-exam-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.single-exam-price-wrap {
  display: flex;
  flex-direction: column;
}

.single-exam-price-label {
  font-size: 11px;
  color: #64748b;
  font-weight: 500;
}

.single-exam-price-val {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.single-exam-duration {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-left: 2px;
}

.single-exam-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.15s ease;
}

.single-exam-btn:hover {
  background: #1d4ed8;
}

@media (max-width: 768px) {
  .all-pass-banner {
    padding: 24px;
  }
  .all-pass-content-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .all-pass-cta-card {
    flex: 1 1 100%;
  }
  .category-pass-card-content {
    flex-direction: column;
    align-items: stretch;
  }
  .category-pass-card-cta {
    flex: 1 1 100%;
  }
}
