/* ── Variables ── */
:root {
  --conf-blue:      #002a5c; /* KKESH Royal Navy Blue */
  --conf-blue-rgb:  0, 42, 92;
  --conf-gold:      #f0c040; /* Golden text/accents */
  --conf-accent:    #009fe3; /* KKESH Light Blue */
  --kkesh-dark:     #0f172a; /* Slate 900 */
  --teal-color:     #16a085; /* Clinical Teal */
  --teal-hover:     #11816a;
  --glass-bg:       rgba(255, 255, 255, 0.85);
  --border-color:   rgba(226, 232, 240, 0.8); /* Slate 200 */
  --card-shadow:    0 10px 30px rgba(0, 42, 92, 0.04);
  --hover-shadow:   0 20px 40px rgba(0, 42, 92, 0.09);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Global ── */
body { 
  background: radial-gradient(circle at 10% 20%, rgba(244, 247, 246, 1) 0%, rgba(240, 244, 248, 1) 90.1%);
  font-family: 'Tajawal', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--kkesh-dark);
  line-height: 1.6;
}

/* Modern Layout Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--conf-blue);
  letter-spacing: -0.02em;
}

p {
  color: #64748b; /* Slate 500 */
}

/* Scrollbars */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ── Navbar ── */
.bg-primary-custom { background: var(--conf-blue) !important; }

/* ── Hero ── */
.hero-section {
  background: linear-gradient(135deg, var(--conf-blue) 0%, #1a5276 60%, #1f618d 100%);
  min-height: 480px;
  display: flex;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--conf-gold);
  color: var(--conf-blue);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 20px;
}
.stat-pill {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 18px;
  border-radius: 20px;
  color: white;
  font-size: 0.9rem;
}

/* ── Countdown ── */
.countdown-box {
  background: white;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  padding: 12px 20px;
  text-align: center;
  min-width: 80px;
}
.countdown-box span { font-size: 2rem; font-weight: 700; display: block; color: var(--conf-blue); }
.countdown-box small { color: #6c757d; font-size: 0.75rem; }

/* ── Modern Card Layout & Hovers (Premium) ── */
.card, .hover-card {
  border: 1px solid var(--border-color) !important;
  border-radius: 16px !important;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  background: #ffffff;
  overflow: hidden;
}

.card:hover, .hover-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--hover-shadow) !important;
  border-color: rgba(0, 159, 227, 0.35) !important;
}

/* Beautiful Icon Container for Directories */
.icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.card:hover .icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

/* ── Training & Track Cards ── */
.track-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.track-card:hover { transform: translateY(-4px); transition: transform .25s; box-shadow: 0 8px 24px rgba(0,0,0,.1) !important; }

/* ── Buttons with high premium glow & styling ── */
.btn {
  font-weight: 700;
  border-radius: 30px;
  padding: 10px 24px;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--conf-blue) 0%, #1a5276 100%) !important;
  border: none !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(0, 42, 92, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 42, 92, 0.3);
  filter: brightness(1.1);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal-color) 0%, #1abc9c 100%) !important;
  border: none !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(22, 160, 133, 0.2);
}

.btn-teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(22, 160, 133, 0.35);
  filter: brightness(1.1);
}

.btn-outline-primary {
  color: var(--conf-blue) !important;
  border: 2px solid var(--conf-blue) !important;
  background: transparent !important;
}

.btn-outline-primary:hover {
  background-color: var(--conf-blue) !important;
  color: white !important;
}

/* ── Shared Status Badges ── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.status-badge::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: currentColor;
  flex: 0 0 auto;
}

.status-active {
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
  border-color: rgba(25, 135, 84, 0.22);
}

.status-inactive {
  background: rgba(220, 53, 69, 0.12);
  color: #dc3545;
  border-color: rgba(220, 53, 69, 0.22);
}

.status-pending {
  background: rgba(255, 193, 7, 0.18);
  color: #a16207;
  border-color: rgba(255, 193, 7, 0.28);
}

.status-draft {
  background: rgba(108, 117, 125, 0.12);
  color: #6c757d;
  border-color: rgba(108, 117, 125, 0.2);
}

.status-info {
  background: rgba(13, 202, 240, 0.12);
  color: #0dcaf0;
  border-color: rgba(13, 202, 240, 0.24);
}

/* ── Admin Dashboard ── */
.admin-dashboard-hero {
  padding: 2rem;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(0, 159, 227, 0.26), transparent 30%),
    radial-gradient(circle at bottom left, rgba(22, 160, 133, 0.18), transparent 28%),
    linear-gradient(135deg, #052d60 0%, #0a4f8a 52%, #0e7d93 100%);
  box-shadow: 0 24px 54px rgba(0, 42, 92, 0.18);
}

.admin-dashboard-hero-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0.5;
}

.admin-dashboard-hero-orb.orb-one {
  width: 180px;
  height: 180px;
  top: -60px;
  right: -40px;
  background: radial-gradient(circle, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 70%);
}

.admin-dashboard-hero-orb.orb-two {
  width: 140px;
  height: 140px;
  left: 28%;
  bottom: -60px;
  background: radial-gradient(circle, rgba(240, 192, 64, 0.22) 0%, rgba(240, 192, 64, 0) 72%);
}

.admin-dashboard-kicker {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #eef6ff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-dashboard-hero h1,
.admin-dashboard-hero .text-white {
  color: #fff !important;
}

.admin-dashboard-hero-copy {
  max-width: 760px;
  font-size: 1rem;
}

.admin-hero-btn {
  min-width: 180px;
}

.admin-hero-summary-card {
  padding: 1.25rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
}

.admin-hero-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-hero-summary-grid div {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.1);
  color: white;
}

.admin-hero-summary-grid strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.2;
}

.admin-hero-summary-label {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-kpi-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248, 251, 253, 1) 100%);
}

.admin-kpi-label {
  letter-spacing: 0.06em;
}

.admin-kpi-value {
  font-size: clamp(1.6rem, 2vw, 2rem);
  color: var(--conf-blue);
}

.admin-kpi-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45);
}

.admin-kpi-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.admin-registry-card,
.admin-action-card {
  overflow: hidden;
}

.admin-mini-stat,
.admin-section-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(0, 42, 92, 0.05);
  border: 1px solid rgba(0, 42, 92, 0.08);
  color: var(--conf-blue);
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-section-badge.badge-cert {
  background: rgba(230, 126, 34, 0.08);
  border-color: rgba(230, 126, 34, 0.12);
  color: #a85713;
}

.admin-provision-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(246, 249, 252, 0.98) 100%);
}

.admin-table-shell {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 18px;
  background: #fff;
}

.admin-table-shell table thead th {
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: linear-gradient(180deg, #f8fbfd 0%, #f3f7fb 100%);
  vertical-align: top;
}

.admin-table-shell table tbody td {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.admin-table-heading-title,
.admin-table-heading-meta {
  display: block;
}

.admin-table-heading-title {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1e3a5f;
}

.admin-table-heading-meta {
  margin-top: 0.25rem;
  font-size: 0.73rem;
  font-weight: 600;
  color: #64748b;
  text-transform: none;
  letter-spacing: normal;
}

.admin-org-cell {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.admin-org-name {
  color: var(--conf-blue);
  font-size: 1rem;
}

.admin-org-status {
  width: fit-content;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
}

.admin-org-specialization {
  display: inline-flex;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 159, 227, 0.08);
  color: #0a4f8a;
  font-weight: 700;
}

.admin-pm-badge {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
}

.admin-contact-chip,
.admin-date-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
}

.admin-website-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(22, 160, 133, 0.08);
  color: #0f766e;
  font-weight: 700;
}

.admin-website-link:hover {
  background: rgba(22, 160, 133, 0.14);
  color: #0b5d57;
}

.admin-empty-panel {
  background: linear-gradient(135deg, rgba(0, 42, 92, 0.03), rgba(0, 159, 227, 0.07));
  border: 1px dashed rgba(148, 163, 184, 0.35);
}

.admin-empty-icon {
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(255,255,255,0.82);
  color: var(--conf-blue);
  font-size: 2rem;
  box-shadow: 0 12px 26px rgba(0, 42, 92, 0.08);
}

.admin-action-btn {
  border-radius: 18px;
}

.admin-certificate-stats {
  background: linear-gradient(180deg, rgba(255,248,235,0.8) 0%, rgba(255,255,255,1) 100%);
  border: 1px solid rgba(230, 126, 34, 0.12);
}

@media (max-width: 991.98px) {
  .admin-dashboard-hero {
    padding: 1.5rem;
  }

  .admin-hero-summary-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .admin-dashboard-hero {
    border-radius: 22px;
  }

  .admin-hero-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Event Presentation ── */
.community-spotlight-card {
  background:
    radial-gradient(circle at top right, rgba(0, 159, 227, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(244, 249, 255, 0.96) 100%);
}

.community-spotlight-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.65;
  pointer-events: none;
}

.community-spotlight-orb.orb-primary {
  width: 180px;
  height: 180px;
  top: -60px;
  right: -50px;
  background: radial-gradient(circle, rgba(0, 159, 227, 0.22) 0%, rgba(0, 159, 227, 0) 72%);
  animation: floatGlow 8s ease-in-out infinite;
}

.community-spotlight-orb.orb-teal {
  width: 140px;
  height: 140px;
  bottom: -40px;
  left: -30px;
  background: radial-gradient(circle, rgba(22, 160, 133, 0.18) 0%, rgba(22, 160, 133, 0) 72%);
  animation: floatGlow 9s ease-in-out infinite reverse;
}

.community-pill {
  background: rgba(0, 42, 92, 0.06);
  color: var(--conf-blue);
  border: 1px solid rgba(0, 42, 92, 0.08);
}

.community-pill-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal-color);
  box-shadow: 0 0 0 0 rgba(22, 160, 133, 0.45);
  animation: pulseRing 2.4s ease-out infinite;
}

.community-stat-chip,
.event-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #475569;
  font-size: 0.85rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.community-feature-callout {
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 42, 92, 0.05), rgba(0, 159, 227, 0.1));
  border: 1px solid rgba(0, 159, 227, 0.16);
}

.event-showcase-card,
.event-grid-card,
.conference-feature-card {
  position: relative;
}

.conference-item-card {
  width: 100%;
}

.conference-feature-card {
  min-height: 100%;
}

.events-group[data-section-status="active"] .conference-feature-card {
  min-height: 40rem;
}

.event-showcase-card::after,
.event-grid-card::after,
.conference-feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0) 15%, rgba(255,255,255,0.14) 45%, rgba(255,255,255,0) 75%);
  transform: translateX(-120%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.event-showcase-card:hover::after,
.event-grid-card:hover::after,
.conference-feature-card:hover::after {
  transform: translateX(120%);
}

.event-showcase-ribbon {
  height: 5px;
  background: linear-gradient(90deg, var(--conf-blue), var(--conf-accent), var(--teal-color));
}

.event-grid-glow {
  position: absolute;
  inset: auto -40px -40px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 159, 227, 0.16) 0%, transparent 72%);
  pointer-events: none;
}

.event-status-badge {
  letter-spacing: 0.04em;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.event-meta-stack {
  min-height: 76px;
}

.event-action-btn,
.conference-action-btn {
  position: relative;
  overflow: hidden;
}

.event-action-btn::before,
.conference-action-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.35) 45%, transparent 100%);
  transform: translateX(-140%);
  transition: transform 0.55s ease;
}

.event-action-btn:hover::before,
.conference-action-btn:hover::before {
  transform: translateX(140%);
}

.conference-feature-body {
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(247, 251, 255, 1) 100%);
}

.conference-feature-sidebar {
  position: relative;
  isolation: isolate;
}

.conference-feature-sidebar::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  pointer-events: none;
}

.conference-item-entrance {
  animation: riseIn 0.7s ease both;
}

.conference-item-entrance:nth-child(2n) {
  animation-delay: 0.08s;
}

.conference-item-entrance:nth-child(3n) {
  animation-delay: 0.14s;
}

.event-tilt-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
}

@keyframes floatGlow {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, 12px, 0); }
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(22, 160, 133, 0.45); }
  70% { box-shadow: 0 0 0 10px rgba(22, 160, 133, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 160, 133, 0); }
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .community-spotlight-orb,
  .community-pill-pulse,
  .conference-item-entrance {
    animation: none !important;
  }

  .event-showcase-card::after,
  .event-grid-card::after,
  .conference-feature-card::after,
  .event-action-btn::before,
  .conference-action-btn::before {
    transition: none !important;
  }

  .event-tilt-card:hover,
  .card:hover,
  .hover-card:hover {
    transform: none !important;
  }
}

/* ── Workshop ── */
.workshop-dot {
  width: 10px; height: 10px; min-width: 10px;
  background: var(--conf-accent);
  border-radius: 50%;
  margin-top: 6px;
}

/* ── Timeline ── */
.timeline-dot {
  width: 14px; height: 14px; min-width: 14px;
  border-radius: 50%;
  margin-top: 5px;
}

/* ── CTA Section ── */
.cta-section { background: linear-gradient(135deg, #1a5276, var(--conf-blue)); }

/* ── Footer ── */
.footer-custom { background: var(--conf-blue); color: rgba(255,255,255,.85); }
.footer-custom a { color: var(--conf-gold); text-decoration: none; }
.footer-custom a:hover { text-decoration: underline; }

/* ── Avatar ── */
.avatar-circle {
  width: 44px; height: 44px;
  background: var(--conf-accent);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.avatar-circle-lg {
  width: 64px; height: 64px;
  background: var(--conf-blue);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.6rem;
}

/* ── Speaker Cards ── */
.speaker-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.speaker-avatar-lg {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
}
.speaker-card:hover { transform: translateY(-3px); transition: .2s; box-shadow: 0 6px 20px rgba(0,0,0,.1) !important; }

/* ── Schedule ── */
.schedule-time { min-width: 55px; padding-top: 12px; }
.schedule-bar { transition: .2s; }
.schedule-bar:hover { filter: brightness(.96); }

/* ── KPI Cards ── */
.kpi-card:hover { transform: translateY(-2px); transition: .2s; box-shadow: 0 6px 20px rgba(0,0,0,.1) !important; }
.kpi-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}

/* ── Stat icon (checkin) ── */
.stat-icon {
  width: 52px; height: 52px; min-width: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}

/* ── Scanner ── */
.scanner-viewport {
  width: 100%; max-width: 320px;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  min-height: 200px;
  display: flex; align-items: center; justify-content: center;
}
.scanner-frame {
  position: absolute;
  width: 160px; height: 160px;
  border: 3px solid var(--conf-gold);
  border-radius: 8px;
  z-index: 10;
  pointer-events: none;
}

/* ── Certificate Card ── */
.cert-card { overflow: hidden; }
.cert-card-header { border-radius: 0; }
.cert-card:hover { transform: translateY(-3px); transition: .2s; }

/* ── Payment ── */
.payment-method-btn { cursor: pointer; }
.payment-method-btn:hover { background: #f0f4ff; border-color: var(--conf-accent) !important; }

/* ── Border dashed ── */
.border-dashed { border: 2px dashed #dee2e6 !important; border-radius: 12px; }

/* ── Form Inputs (Refining custom aesthetic) ── */
.form-control, .form-select {
  border-radius: 12px !important;
  border: 1.5px solid #e2e8f0;
  padding: 12px 18px;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-control:focus, .form-select:focus {
  border-color: var(--conf-accent);
  box-shadow: 0 0 0 4px rgba(0, 159, 227, 0.12) !important;
}

/* ── Bootstrap color overrides for custom colors ── */
.bg-purple-subtle { background-color: #f3e6ff; }
.text-purple { color: #8e44ad; }
.border-purple { border-color: #8e44ad !important; }
.bg-teal-subtle { background-color: #e0f7f5; }
.text-teal { color: #16a085; }
.border-teal { border-color: #16a085 !important; }
.bg-orange-subtle { background-color: #fff3e0; }
.text-orange { color: #e67e22; }
.border-orange { border-color: #e67e22 !important; }

/* ── Custom Button Teal ── */
.btn-teal {
  background-color: #16a085 !important;
  border-color: #16a085 !important;
  color: #ffffff !important;
}
.btn-teal:hover {
  background-color: #11816a !important;
  border-color: #11816a !important;
  color: #ffffff !important;
}

/* ── KKESH Layout & Identity Styles ── */

/* ── KKESH Layout & Identity Styles ── */

/* Single Unified Header & Navbar (Zero vertical duplication) */

.kkesh-unified-header {
  background-color: #ffffff !important;

  min-height: 90px;
  position: relative;
  z-index: 1050;
}

/* Localized floating decoration on the left matching reference design layout/index.html */
.eye-graphic-decor {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  height: 220px;
  width: auto;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}

/* Interactive item styles */
.kkesh-unified-header .nav-item-link {
  color: #002a5c !important;
  font-weight: 700 !important;
  font-size: 0.95rem;
  padding: 8px 12px !important;
  transition: color 0.15s ease-in-out, transform 0.15s;
}

.kkesh-unified-header .nav-item-link:hover {
  color: #007fa3 !important;
  transform: translateY(-1px);
}

.kkesh-hero-strip {
  position: relative;
  width: 100%;
  aspect-ratio: 1080 / 266;   /* matches the banner so it scales without distortion */
  max-height: 240px;          /* cap on large desktops */
  background: url('../imgs/hero-banner.jpg') center center no-repeat;
  background-size: cover;
  overflow: hidden;
}


/* Hero gradient overlay overlaying landscape layout elements */
.kkesh-hero-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 42, 92, 0.18) 1px, transparent 1px);
  pointer-events: none;
}


/* Active nav item — a clear "you are here" cue so signed-in users feel inside the app. */
.kkesh-unified-header .nav-item-link { position: relative; }
.kkesh-unified-header .nav-item-link.active { color: #002a5c !important; }
.kkesh-unified-header .nav-item-link.active::after {
  content: '';
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0;
  height: 2px;
  background: #007fa3;
  border-radius: 2px 2px 0 0;
}
@media (max-width: 991.98px) {
  /* On the collapsed mobile menu, show the active cue as a left bar instead. */
  .kkesh-unified-header .nav-item-link.active::after { left: 0; right: auto; top: 0; bottom: 0; width: 3px; height: auto; border-radius: 0 3px 3px 0; }
}


/* KKESH Footers */
.kkesh-footer {
  background: linear-gradient(to right, #002a5c, #007fa3);
  color: #ffffff !important;
  padding: 24px 0;
  margin-top: auto; /* Push to bottom of flex page */
  font-size: 0.9rem;
}

.kkesh-footer a {
  color: rgba(255,255,255,0.9) !important;
  text-decoration: none;
  font-weight: 600;
  transition: text-decoration 0.2s;
}

.kkesh-footer a:hover {
  text-decoration: underline !important;
}

/* Responsive Overrides */
@media (max-width: 1200px) {
  .kkesh-center-banner {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  .kkesh-unified-header .collapse {
    width: 100%;
  }
  .kkesh-unified-header .navbar-nav {
    background: #f1f5f9;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    border: 1px solid #cbd5e1;
    align-items: stretch !important;
    width: 100%;
    z-index: 1051;
  }
  .kkesh-unified-header .nav-item-link {
    padding: 8px 10px !important;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
}

/* Password toggle button styles */
.pw-toggle-addon {
  padding: 0 !important;
  background: #fff !important;
  border-left: 0 !important;
}

.pw-toggle-btn {
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 12px !important;
  min-width: 46px;
  height: 100%;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  color: #556987 !important;
}

.pw-toggle-btn:hover {
  background: rgba(var(--conf-blue-rgb), 0.04) !important;
}

.pw-toggle-btn:focus {
  box-shadow: 0 0 0 3px rgba(var(--conf-blue-rgb), 0.12) !important;
  outline: none !important;
}

.pw-toggle-icon {
  font-size: 1.05rem;
  color: currentColor;
  line-height: 1;
}

/* Conference registration */
.registration-page {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(0, 159, 227, 0.12), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #f4f7fb 45%, #ffffff 100%);
}

.registration-page.registration-page-conference {
  background:
    linear-gradient(135deg, rgba(2, 13, 33, 0.58), rgba(0, 42, 92, 0.46)),
    var(--registration-bg-image) center/cover no-repeat fixed;
}

.registration-page.registration-page-conference::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.18), rgba(248, 250, 252, 0.62));
  pointer-events: none;
}

.registration-page .container {
  position: relative;
  z-index: 1;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--teal-color);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.registration-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.95fr);
  gap: 24px;
  padding: 30px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 255, 0.92)),
    #ffffff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.registration-hero.registration-hero-banner {
  border: none;
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 55px rgba(2, 6, 23, 0.22);
}

.registration-hero.registration-hero-banner .registration-hero-copy {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(4px);
}

.registration-hero.registration-hero-banner .section-kicker {
  color: #93c5fd;
}

.registration-hero.registration-hero-banner .registration-hero-title,
.registration-hero.registration-hero-banner .registration-hero-text {
  color: #ffffff;
}

.registration-hero.registration-hero-banner .registration-hero-text {
  color: rgba(255, 255, 255, 0.9);
}

.registration-hero-title {
  margin: 0;
  color: #0f172a;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  font-weight: 900;
}

.registration-hero-text {
  max-width: 62ch;
  margin: 14px 0 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.7;
}

.registration-hero-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.registration-hero-points span {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
}

.registration-hero-points i {
  color: var(--teal-color);
  margin-top: 2px;
}

.registration-hero-aside {
  display: flex;
  align-items: stretch;
}

.registration-hero-status {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 20px 22px;
  border-radius: 18px;
  background: linear-gradient(180deg, #0f172a 0%, #12304c 100%);
  color: #ffffff;
}

.registration-hero-status strong {
  font-size: 1.15rem;
}

.registration-hero-status span:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.registration-hero-status-label {
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.registration-invite-alert {
  border-radius: 18px;
}

.registration-overview-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.registration-overview-item {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
}

.registration-overview-label {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-color);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.registration-overview-item strong {
  color: #0f172a;
  font-size: 0.97rem;
  line-height: 1.55;
}

.registration-login-note {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 18px;
  color: #475569;
  font-size: 0.92rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.registration-login-note strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
}

.registration-login-note a {
  align-self: flex-start;
  font-weight: 800;
  color: var(--conf-blue);
  text-decoration: none;
}

.registration-panel,
.registration-summary {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
  padding: 28px;
}

.registration-page.registration-page-conference .registration-panel,
.registration-page.registration-page-conference .registration-summary,
.registration-page.registration-page-conference .registration-invite-alert {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(5px);
}

.registration-panel-soft {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), #ffffff);
}

.registration-panel-accent {
  background: linear-gradient(180deg, rgba(240, 249, 255, 0.82), #ffffff);
}

.registration-section-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.registration-section-header h2 {
  color: #0f172a;
}

.registration-section-header p {
  color: #475569;
  line-height: 1.65;
}

.registration-section-index {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--conf-blue), #0ea5e9);
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 159, 227, 0.24);
}

.registration-field-grid .form-label,
.registration-panel .form-label {
  color: #0f172a;
  font-weight: 700;
}

.registration-panel .form-control,
.registration-panel .form-select {
  min-height: 50px;
  border-radius: 14px;
  border-color: #d8e1ea;
  box-shadow: none;
}

.registration-panel .form-control:focus,
.registration-panel .form-select:focus {
  border-color: rgba(0, 159, 227, 0.45);
  box-shadow: 0 0 0 0.25rem rgba(0, 159, 227, 0.12);
}

.signed-in-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.avatar-circle-sm {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: var(--conf-blue);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.avatar-photo {
  object-fit: cover;
  overflow: hidden;
  padding: 0;
  background: #e2e8f0;
}

.avatar-photo img,
.avatar-photo .avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-picture-panel {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.profile-picture-preview {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 4px solid rgba(0, 159, 227, 0.14);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.profile-picture-fallback {
  background: linear-gradient(135deg, var(--conf-blue), #0ea5e9);
  color: #ffffff;
  font-size: 2.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-avatar {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  font-size: 0.9rem;
  vertical-align: middle;
}

.reviewer-avatar-sm {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  font-size: 0.8rem;
}

.invitation-header-avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  font-size: 1.4rem;
}

.invitation-user-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
}

.speaker-portal-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.speaker-portal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12) !important;
}

.speaker-portal-meta {
  display: grid;
  gap: 10px;
  color: #475569;
  font-size: 0.92rem;
}

.speaker-portal-stat {
  height: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.speaker-portal-stat strong {
  display: block;
  color: #0f172a;
  font-size: 1.1rem;
}

.speaker-portal-stat span {
  color: #64748b;
}

.speaker-conference-highlight {
  min-width: 220px;
  padding: 20px 22px;
  border-radius: 20px;
  background: linear-gradient(180deg, #0f172a 0%, #12304c 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.speaker-conference-highlight strong {
  font-size: 1.8rem;
  line-height: 1;
}

.speaker-conference-highlight span {
  color: rgba(255, 255, 255, 0.78);
}

.speaker-conference-highlight-label {
  color: #93c5fd;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.selected-event-field {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
  border: 1.5px solid #d6e4f0;
  border-radius: 14px;
  color: #0f172a;
  font-weight: 800;
}

.selected-event-field small {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-weight: 600;
}

.registration-type-brief {
  padding: 18px 20px;
  border: 1px solid #d8e8f6;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.96), rgba(255, 255, 255, 0.96));
}

.registration-type-brief-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.registration-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #dff4ff;
  color: #075985;
  font-size: 0.8rem;
  font-weight: 800;
}

.registration-type-note {
  color: #64748b;
  font-size: 0.84rem;
  text-align: right;
}

.registration-type-brief h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1.15rem;
}

.registration-type-brief p {
  margin: 8px 0 0;
  color: #475569;
  line-height: 1.65;
}

.workshop-list {
  display: grid;
  gap: 12px;
}

.workshop-choice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.workshop-choice:hover,
.workshop-choice:has(input:checked) {
  border-color: rgba(0, 159, 227, 0.75);
  background: #f8fcff;
  transform: translateY(-1px);
}

.standard-pricing-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  margin-bottom: 14px;
  border: 1px dashed #bfd6ee;
  border-radius: 18px;
  background: #f8fbff;
  cursor: pointer;
}

.standard-pricing-choice:has(input:checked) {
  border-color: rgba(0, 159, 227, 0.75);
  background: #f1f8ff;
}

.standard-pricing-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.standard-pricing-title {
  font-weight: 800;
  color: #0f172a;
}

.standard-pricing-meta {
  color: #64748b;
  font-size: 0.84rem;
}

.standard-pricing-badge {
  padding: 6px 10px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #075985;
  font-size: 0.78rem;
  font-weight: 800;
}

.package-list-heading {
  margin: 4px 0 14px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workshop-choice-title {
  display: block;
  color: #0f172a;
  font-weight: 800;
  line-height: 1.35;
}

.package-choice-description {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 0.88rem;
}

.workshop-choice-meta {
  display: block;
  margin-top: 10px;
  color: #64748b;
  font-size: 0.84rem;
}

.package-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.package-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 700;
}

.package-price-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.workshop-price {
  color: var(--conf-blue);
  font-weight: 800;
  white-space: nowrap;
}

.package-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.package-status-pill.is-open {
  background: #dcfce7;
  color: #166534;
}

.package-status-pill.is-full {
  background: #fef3c7;
  color: #92400e;
}

.package-status-pill.is-muted {
  background: #e2e8f0;
  color: #475569;
}

/* =========================================================================
   RESPONSIVE SAFETY NET — applies across every page, all device sizes.
   Bootstrap already handles the grid/navbar; this closes the common gaps
   (media overflow, long strings, wide tables, oversized type/toolbars on
   phones) without editing each of the 49 templates.
   ========================================================================= */

/* Media and embeds never exceed their container. */
img, svg, video, canvas, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* Prevent accidental horizontal scrolling from an overflowing child.
   'clip' (not 'hidden') so it does NOT create a scroll container that would
   break the sticky-top navbar. */
html, body { max-width: 100%; overflow-x: clip; }

/* Long unbroken tokens (emails, URLs, codes) wrap instead of pushing width.
   Use 'break-word' (NOT 'anywhere'): it breaks a token only when it alone would
   overflow the line, and it does NOT shrink an element's min-content width — so
   normal words stay whole and wide tables keep their natural width and scroll,
   instead of collapsing to one letter per line on small screens. */
p, li, dd, dt, td, th, .card-text, .dropdown-item, .badge, a {
  overflow-wrap: break-word;
}

/* Wide data tables are wrapped in .table-responsive (Bootstrap) which scrolls
   horizontally on small screens; keep that momentum-scrolling smooth on iOS. */
.table-responsive { -webkit-overflow-scrolling: touch; }

/* Action dropdowns (e.g. the "Override" menu) live INSIDE a .table-responsive,
   whose overflow-x:auto clips the open menu so it can't be used on a phone.
   While a menu is open, base.html adds .dropdown-open to just that wrapper to
   lift the clipping (and preserves the horizontal scroll position). */
.table-responsive.dropdown-open { overflow: visible; }

/* Phones: denser table cells so more columns fit before horizontal scrolling. */
@media (max-width: 575.98px) {
  .table-responsive > .table > :not(caption) > * > * { padding: .4rem .5rem; }
  .table-responsive > .table { font-size: .85rem; }
}

/* Tablets and below: trim the fluid-container gutters a little. */
@media (max-width: 991.98px) {
  .container, .container-fluid, .container-lg, .container-xl { padding-left: 16px; padding-right: 16px; }
  .kkesh-center-banner { display: none !important; }   /* decorative only */
}

/* Phones. */
@media (max-width: 575.98px) {
  .container, .container-fluid, .container-sm, .container-md, .container-lg, .container-xl {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Headings / hero type scale down so they never clip. */
  .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-size: calc(1.4rem + 1.8vw) !important;
    line-height: 1.2;
  }
  h1, .h1 { font-size: 1.55rem; }
  h2, .h2 { font-size: 1.3rem; }
  h3, .h3 { font-size: 1.12rem; }
  .lead { font-size: 1rem; }
  .fs-1 { font-size: 1.8rem !important; }
  .fs-2 { font-size: 1.5rem !important; }

  /* Toolbars / header rows wrap instead of overflowing off-screen. */
  .d-flex.justify-content-between:not(.flex-nowrap),
  .d-flex.justify-content-end:not(.flex-nowrap) {
    flex-wrap: wrap;
    row-gap: .5rem;
  }

  /* Uniform button size on phones — avoid a jarring mix of large and small.
     Normalises .btn-sm / .btn / .btn-lg to one comfortable touch size.
     (Utility paddings like .py-0/.px-2 on compact icon buttons still win,
     so tight in-table action buttons keep their intended size.) */
  .btn, .btn-sm, .btn-lg {
    padding: .45rem .85rem;
    font-size: .9rem;
    line-height: 1.35;
    white-space: normal;
  }

  /* Cards get a touch less padding to reclaim width. */
  .card-body { padding: 1rem; }

  /* Modals use the full width on phones. */
  .modal-dialog { margin: .5rem; }
}

/* --- Navbar logo, mobile menu polish, and responsive hero (landing) --- */
.kkesh-nav-logo { max-height: 58px; width: auto; object-fit: contain; }

@media (max-width: 991.98px) {
  /* Collapsed menu: let dropdowns expand inline instead of floating off-screen. */
  .kkesh-unified-header .dropdown-menu {
    position: static !important;
    float: none;
    width: 100%;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding-left: .75rem;
  }
  .kkesh-unified-header .navbar-nav .nav-item .nav-item-link:last-child { border-bottom: 0; }
}

@media (max-width: 575.98px) {
  .kkesh-nav-logo { max-height: 42px; }
  .kkesh-unified-header { min-height: 62px; }
}

/* Hero strip height now derives from its aspect-ratio (see .kkesh-hero-strip),
   so it scales proportionally on every screen — no fixed per-breakpoint heights. */

.registration-submit-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.registration-submit-notes {
  display: grid;
  gap: 14px;
}

.registration-submit-note-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.registration-submit-note-card strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
}

.registration-submit-note-card p {
  color: #64748b;
  line-height: 1.6;
}

.registration-submit {
  min-width: 230px;
  min-height: 56px;
  padding-inline: 26px;
  border-radius: 16px;
  font-weight: 800;
  box-shadow: 0 16px 30px rgba(0, 159, 227, 0.18);
}

.registration-summary {
  position: sticky;
  top: 125px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
}

.registration-summary-hero {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f172a 0%, #12304c 100%);
  color: #ffffff;
}

.registration-summary-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.registration-summary-code {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #e0f2fe;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.summary-group {
  margin-top: 18px;
}

.summary-group-title {
  margin-bottom: 12px;
  color: #0f172a;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.summary-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.summary-detail-card {
  min-height: 100%;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
}

.summary-detail-list {
  display: grid;
  gap: 6px;
}

.summary-status-row,
.summary-cost > div,
.summary-detail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.summary-detail {
  justify-content: flex-start;
  padding: 13px 0;
  border-top: 1px solid #edf2f7;
}

.summary-detail-list .summary-detail {
  justify-content: space-between;
}

.summary-detail-card.summary-detail {
  border-top: 0;
  padding: 14px;
}

.summary-detail i {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #e0f7f5;
  color: var(--teal-color);
}

.summary-detail span,
.summary-cost span {
  display: block;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 700;
}

.summary-meta {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 0.8rem;
}

.summary-detail strong,
.summary-cost strong {
  color: #0f172a;
}

.summary-cost {
  display: grid;
  gap: 12px;
  padding: 18px 0 0;
}

.summary-total {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
}

.summary-total strong {
  color: var(--conf-blue);
  font-size: 1.25rem;
}

.summary-next-steps {
  display: grid;
  gap: 10px;
}

.summary-next-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #334155;
  font-size: 0.9rem;
  line-height: 1.55;
}

.summary-next-step i {
  color: var(--conf-blue);
  margin-top: 2px;
}

.summary-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  background: #fffbeb;
  color: #7c5a10;
  font-size: 0.88rem;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .registration-hero,
  .registration-overview-panel,
  .summary-detail-grid {
    grid-template-columns: 1fr;
  }

  .registration-submit-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .registration-summary {
    position: static;
  }

  .registration-type-brief-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .registration-type-note {
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .registration-panel,
  .registration-summary,
  .registration-hero {
    padding: 20px;
  }

  .registration-overview-item,
  .registration-summary-hero,
  .registration-detail-card {
    padding: 16px;
  }

  .workshop-choice {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .workshop-price,
  .package-price-stack {
    grid-column: 2;
    align-items: flex-start;
  }

  .registration-section-header {
    gap: 12px;
  }

  .registration-section-index {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .registration-submit {
    width: 100%;
    min-width: 0;
  }
}

