/* ============================================================
   LCT Academy — global stylesheet
   Design tokens: original teal brand + antique gold accent.
   Themeable (light/dark via [data-theme] on <html>), RTL-aware.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@400;500;600;700;800&family=Cairo:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Tajawal:wght@400;500;700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; }

html {
  --brand: #009EA8; --brand-dark: #0A7680; --brand-light: #3FC2C9; --brand-ink: #052E31;
  --gold: #B98A34; --gold-deep: #8A6420; --gold-soft: #E9D9B4;
  --bg: #F3F8F7; --surface: #FFFFFF; --surface-2: #EAF3F2;
  --text: #142A2C; --text-soft: #52706F; --heading: #08282B; --border: #DCE8E7;
  --overlay: rgba(5,25,27,0.55);
  --success: #1D8A5F; --success-bg: #E4F5ED;
  --warn: #A9740F; --warn-bg: #FBF0D9;
  --danger: #C13A31; --danger-bg: #FBEAE8;
  --info: #1D6FA9; --info-bg: #E6F1FB;
  --radius-s: 10px; --radius-m: 16px; --radius-l: 26px;
  --shadow-s: 0 1px 2px rgba(5,30,32,0.06), 0 1px 1px rgba(5,30,32,0.04);
  --shadow-m: 0 8px 24px rgba(5,30,32,0.09), 0 2px 6px rgba(5,30,32,0.06);
  --shadow-l: 0 24px 60px rgba(5,30,32,0.16), 0 8px 20px rgba(5,30,32,0.08);
  scroll-behavior: smooth;
}
html[data-theme="dark"] {
  --brand: #2BC7C2; --brand-dark: #1C9C98; --brand-light: #6FE0DB; --brand-ink: #052E31;
  --gold: #E3BD73; --gold-deep: #C79A45; --gold-soft: #4A3A1C;
  --bg: #071A1B; --surface: #0D2528; --surface-2: #123032;
  --text: #E7F4F3; --text-soft: #9BC0BE; --heading: #F1FBFA; --border: #1D3F41;
  --overlay: rgba(2,10,11,0.72);
  --success: #6BD6A6; --success-bg: #113226;
  --warn: #E7C36E; --warn-bg: #3A2D10;
  --danger: #E68A81; --danger-bg: #3A1916;
  --info: #7BC3EE; --info-bg: #10293A;
  --shadow-s: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-m: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-l: 0 24px 60px rgba(0,0,0,0.5);
}
html[lang="ar"] { --font-display: 'Alexandria', 'Cairo', sans-serif; --font-body: 'Cairo', 'Tajawal', sans-serif; --tracking-eyebrow: 0.02em; }
html[lang="en"] { --font-display: 'Plus Jakarta Sans', sans-serif; --font-body: 'Plus Jakarta Sans', sans-serif; --tracking-eyebrow: 0.1em; }

body {
  background: var(--bg); color: var(--text); font-family: var(--font-body);
  margin: 0; line-height: 1.55; -webkit-font-smoothing: antialiased;
  transition: background .3s ease, color .3s ease;
}
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--heading); margin: 0; font-weight: 700; letter-spacing: -0.01em; }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3 { font-weight: 600; }
p { margin: 0; }
button, input, textarea, select { font-family: inherit; color: inherit; font-size: 100%; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
[data-lucide] { display: inline-block; vertical-align: -3px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

.container { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
@media (max-width: 640px) { .container { padding-inline: 18px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body);
  font-size: 12.5px; font-weight: 700; letter-spacing: var(--tracking-eyebrow); text-transform: uppercase;
  color: var(--brand-dark);
}
html[data-theme="dark"] .eyebrow { color: var(--brand-light); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font-body);
  font-weight: 600; font-size: 15px; padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: linear-gradient(180deg, var(--brand-light), var(--brand)); color: #fff; box-shadow: var(--shadow-m); }
.btn-primary:hover:not(:disabled) { box-shadow: 0 14px 30px rgba(0,158,168,.32); transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, #DDBA6E, var(--gold-deep)); color: #2A1E08; box-shadow: var(--shadow-m); }
.btn-gold:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(150,112,31,.3); }
.btn-secondary { background: var(--surface); color: var(--heading); border-color: var(--border); box-shadow: var(--shadow-s); }
.btn-secondary:hover:not(:disabled) { border-color: var(--brand); color: var(--brand-dark); }
html[data-theme="dark"] .btn-secondary:hover:not(:disabled) { color: var(--brand-light); }
.btn-ghost { background: transparent; color: var(--text-soft); }
.btn-ghost:hover:not(:disabled) { background: var(--surface-2); color: var(--text); }
.btn-danger-outline { background: var(--danger-bg); color: var(--danger); border-color: transparent; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-block { width: 100%; }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.badge-pending { background: var(--warn-bg); color: var(--warn); }
.badge-confirmed { background: var(--success-bg); color: var(--success); }
.badge-rejected { background: var(--danger-bg); color: var(--danger); }
.badge-completed { background: var(--info-bg); color: var(--info); }
.badge-cancelled { background: var(--surface-2); color: var(--text-soft); border: 1px solid var(--border); }
.badge-neutral { background: var(--surface-2); color: var(--text-soft); }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); box-shadow: var(--shadow-s); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-soft); }
.empty-state [data-lucide] { color: var(--border); margin-bottom: 14px; width: 44px; height: 44px; }
.empty-state h3 { color: var(--text); font-size: 17px; }
.empty-state p { margin-top: 8px; font-size: 13.5px; }

/* ---------------- Header ---------------- */
.site-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 82%, transparent); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 13px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo-badge { width: 46px; height: 46px; border-radius: 13px; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-s); border: 1px solid var(--border); flex: none; padding: 5px; }
.logo-badge img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--heading); letter-spacing: .02em; }
.brand-tag { font-size: 10.5px; color: var(--text-soft); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--text-soft); background: none; border: none; cursor: pointer; transition: background .18s, color .18s; }
.nav-link:hover, .nav-link.active { color: var(--text); background: var(--surface-2); }
html[data-theme="dark"] .nav-link.active { color: var(--brand-light); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); border: 1.5px solid var(--border); color: var(--text); cursor: pointer; transition: all .2s ease; flex: none; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,158,168,.15); }
html[data-theme="dark"] .icon-btn:hover { color: var(--brand-light); }
.lang-btn { width: auto; padding-inline: 14px; gap: 7px; font-size: 13px; font-weight: 700; }
.mobile-menu-btn { display: none; }
.mobile-drawer { display: none; }
@media (max-width: 900px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-drawer.open { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px 20px; border-top: 1px solid var(--border); background: var(--bg); }
  .mobile-drawer .nav-link { text-align: start; width: 100%; }
}

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 100% at 15% 0%, var(--brand-dark) 0%, var(--brand-ink) 55%, #031C1E 100%); padding-block: 76px 96px; }
html[data-theme="dark"] .hero { background: radial-gradient(120% 100% at 15% 0%, #0B3A3B 0%, #041718 60%, #020F10 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none; background-image: repeating-linear-gradient(to bottom, rgba(255,255,255,.05) 0, rgba(255,255,255,.05) 1px, transparent 1px, transparent 34px); }
.hero::after { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(201,158,69,.16), transparent 70%); top: -220px; inset-inline-end: -180px; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } }
.hero .eyebrow { color: #F3DFAE; }
.hero .eyebrow::before { background: var(--gold); }
.hero-title { font-size: clamp(40px,6vw,68px); line-height: 1.06; color: #fff; margin-top: 16px; }
.hero-title .accent { color: var(--gold); font-style: italic; }
html[lang="ar"] .hero-title .accent { font-style: normal; }
.hero-sub { margin-top: 22px; font-size: 17px; color: rgba(255,255,255,.82); max-width: 520px; line-height: 1.7; }
@media (max-width: 940px) { .hero-sub { margin-inline: auto; } }
.hero-cta-row { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
@media (max-width: 940px) { .hero-cta-row { justify-content: center; } }
.hero-trust { display: flex; gap: 22px; margin-top: 38px; flex-wrap: wrap; }
@media (max-width: 940px) { .hero-trust { justify-content: center; } }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255,255,255,.78); font-weight: 500; }
.hero-trust-item [data-lucide] { color: var(--gold); }
.hero-stats { display: flex; gap: 30px; margin-top: 46px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
@media (max-width: 940px) { .hero-stats { justify-content: center; } }
.hero-stat-num { font-family: var(--font-display); font-size: 30px; color: #fff; font-weight: 700; }
.hero-stat-label { font-size: 12.5px; color: rgba(255,255,255,.65); margin-top: 2px; }
.hero-emblem-wrap { display: flex; align-items: center; justify-content: center; perspective: 1200px; }
.hero-emblem { width: min(360px,78vw); aspect-ratio: 1; position: relative; transform-style: preserve-3d; transition: transform .12s ease-out; filter: drop-shadow(0 30px 50px rgba(0,0,0,.4)); }
.hero-emblem img { width: 100%; height: 100%; object-fit: contain; }
.hero-emblem-ring { position: absolute; inset: -6%; border-radius: 50%; border: 1px dashed rgba(201,158,69,.4); animation: ring-spin 40s linear infinite; }
@keyframes ring-spin { to { transform: rotate(360deg); } }

/* ---------------- Sections ---------------- */
.section { padding-block: 88px; }
.section-tight { padding-block: 56px; }
@media (max-width: 640px) { .section { padding-block: 56px; } }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-title { font-size: clamp(28px,3.6vw,40px); margin-top: 14px; }
.section-sub { margin-top: 14px; color: var(--text-soft); font-size: 16px; line-height: 1.7; }

.dept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 780px) { .dept-grid { grid-template-columns: 1fr; } }
.dept-card { position: relative; border-radius: var(--radius-l); padding: 40px 34px; overflow: hidden; border: 1px solid var(--border); transition: transform .28s ease, box-shadow .28s ease; min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; }
.dept-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.dept-card.lang { background: linear-gradient(155deg, var(--brand) 0%, var(--brand-ink) 100%); }
.dept-card.comp { background: linear-gradient(155deg, #2C6B60 0%, #0C2E2A 100%); }
html[data-theme="dark"] .dept-card.comp { background: linear-gradient(155deg, #245A50 0%, #081E1B 100%); }
.dept-card-icon { position: absolute; top: 28px; inset-inline-start: 28px; width: 58px; height: 58px; border-radius: 18px; background: rgba(255,255,255,0.18); border: 1.5px solid rgba(255,255,255,0.3); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,0.2); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.dept-card:hover .dept-card-icon { transform: translateY(-3deg) scale(1.05); background: rgba(255,255,255,0.28); border-color: var(--gold); }
.dept-card-code { position: absolute; top: 34px; inset-inline-end: 34px; color: rgba(255,255,255,.55); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.dept-card h3 { color: #fff; font-size: 27px; margin-top: 10px; }
.dept-card p { color: rgba(255,255,255,.8); margin-top: 10px; font-size: 14.5px; line-height: 1.65; max-width: 380px; }
.dept-card-link { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; font-size: 14px; }

.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
@media (max-width: 980px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-card { padding: 28px 24px; border-radius: var(--radius-m); }
.why-icon { width: 50px; height: 50px; border-radius: 16px; background: linear-gradient(135deg, var(--surface-2), var(--surface)); border: 1.5px solid var(--border); color: var(--brand-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 4px 14px rgba(0,158,168,0.1); transition: transform .22s ease, border-color .22s ease, color .22s ease; }
html[data-theme="dark"] .why-icon { color: var(--brand-light); }
.why-card:hover .why-icon { transform: translateY(-4px); border-color: var(--gold); color: var(--gold-deep); }
.why-card h4 { font-size: 17.5px; }
.why-card p { margin-top: 8px; font-size: 14px; color: var(--text-soft); line-height: 1.65; }

.cta-band { border-radius: var(--radius-l); padding: 56px 44px; text-align: center; background: linear-gradient(135deg, var(--brand-dark), var(--brand-ink)); }
.cta-band h2 { color: #fff; font-size: clamp(26px,3.2vw,36px); }
.cta-band p { color: rgba(255,255,255,.82); margin-top: 12px; font-size: 15.5px; }
.cta-band .btn { margin-top: 26px; }

.site-footer { border-top: 1px solid var(--border); padding-block: 52px 26px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-desc { color: var(--text-soft); font-size: 14px; line-height: 1.7; max-width: 340px; }
.footer-heading { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-soft); margin-bottom: 14px; }
.footer-link-list { display: flex; flex-direction: column; gap: 10px; }
.footer-link { color: var(--text); font-size: 14.5px; background: none; border: none; padding: 0; text-align: start; cursor: pointer; }
.footer-link:hover { color: var(--brand-dark); }
html[data-theme="dark"] .footer-link:hover { color: var(--brand-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-soft); flex-wrap: wrap; gap: 10px; }

/* ---------------- Courses list / cards / detail ---------------- */
.page-hero-strip { background: var(--surface-2); border-bottom: 1px solid var(--border); padding-block: 44px; }
.filter-bar { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; align-items: center; }
.search-box { position: relative; flex: 1; min-width: 220px; }
.search-box [data-lucide] { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: var(--text-soft); pointer-events: none; }
.search-box input { width: 100%; padding: 12px 16px; padding-inline-start: 44px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); font-size: 14.5px; }
.search-box input:focus { border-color: var(--brand); }
.chip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--surface); font-weight: 600; font-size: 13.5px; cursor: pointer; transition: all .16s; color: var(--text-soft); }
.chip.active, .chip:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.courses-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 22px; margin-top: 40px; }
.course-card { border-radius: var(--radius-m); background: var(--surface); border: 1px solid var(--border); padding: 24px; transition: transform .16s ease, box-shadow .16s ease; display: block; }
.course-card:hover { box-shadow: var(--shadow-l); border-color: transparent; }
.course-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.course-code { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--brand-dark); background: var(--surface-2); padding: 4px 10px; border-radius: 999px; }
html[data-theme="dark"] .course-code { color: var(--brand-light); }
.seats-pill { font-size: 11.5px; font-weight: 700; color: var(--text-soft); display: flex; align-items: center; gap: 5px; }
.seats-pill.low { color: var(--warn); } .seats-pill.full { color: var(--danger); }
.course-card-icon { width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%); color: var(--brand-dark); border: 1.5px solid var(--border); margin-top: 16px; box-shadow: 0 4px 12px rgba(0,158,168,0.12); transition: transform .22s ease, border-color .22s ease, color .22s ease; }
html[data-theme="dark"] .course-card-icon { color: var(--brand-light); }
.course-card:hover .course-card-icon { transform: scale(1.08) rotate(-3deg); border-color: var(--brand); color: var(--brand); }
.course-card h3 { font-size: 20px; margin-top: 14px; line-height: 1.3; }
.course-card-tagline { font-size: 13.5px; color: var(--text-soft); margin-top: 6px; }
.course-card-meta { display: flex; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--text-soft); }
.course-card-meta span { display: flex; align-items: center; gap: 5px; }
.course-card-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.course-price { font-family: var(--font-display); font-size: 21px; font-weight: 700; color: var(--heading); }
.course-price small { font-size: 12px; font-weight: 400; color: var(--text-soft); font-family: var(--font-body); }

.breadcrumb-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--text-soft); font-size: 13.5px; font-weight: 600; background: none; border: none; cursor: pointer; margin-bottom: 22px; }
.breadcrumb-btn:hover { color: var(--brand-dark); }
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-header-icon { width: 60px; height: 60px; border-radius: 18px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-m); }
.detail-title { font-size: clamp(26px,3.4vw,38px); margin-top: 18px; }
.detail-tagline { color: var(--brand-dark); font-weight: 600; margin-top: 8px; font-size: 15.5px; }
html[data-theme="dark"] .detail-tagline { color: var(--brand-light); }
.detail-desc { margin-top: 20px; font-size: 15.5px; line-height: 1.85; color: var(--text-soft); }
.detail-meta-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 30px; }
.meta-box { padding: 16px 18px; border-radius: var(--radius-s); background: var(--surface-2); }
.meta-box-label { font-size: 12px; color: var(--text-soft); display: flex; align-items: center; gap: 6px; }
.meta-box-value { font-size: 15px; font-weight: 700; margin-top: 6px; color: var(--heading); }
.curriculum-list { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.curriculum-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--radius-s); background: var(--surface); border: 1px solid var(--border); font-size: 14.5px; }
.curriculum-num { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.book-panel { position: sticky; top: 90px; padding: 28px; border-radius: var(--radius-l); }
.book-panel-price { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--heading); }
.book-panel-price small { font-size: 13px; color: var(--text-soft); font-weight: 400; font-family: var(--font-body); display: block; margin-top: 2px; }
.book-panel-row { display: flex; justify-content: space-between; padding-block: 12px; border-top: 1px solid var(--border); font-size: 13.5px; }
.book-panel-row span:first-child { color: var(--text-soft); }
.book-panel-row span:last-child { font-weight: 700; text-align: end; }
.book-panel .btn { margin-top: 20px; }
.seat-meter { height: 7px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-top: 16px; }
.seat-meter-fill { height: 100%; background: linear-gradient(90deg, var(--brand-light), var(--brand)); border-radius: 999px; }

/* ---------------- Booking flow ---------------- */
.booking-shell { max-width: 720px; margin: 0 auto; }
.stepper { display: flex; align-items: center; margin-bottom: 40px; }
.step-item { display: flex; align-items: center; flex: 1; }
.step-circle { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13.5px; font-weight: 700; background: var(--surface-2); color: var(--text-soft); border: 2px solid var(--border); flex: none; }
.step-item.done .step-circle { background: var(--success); border-color: var(--success); color: #fff; }
.step-item.active .step-circle { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--brand) 20%, transparent); }
.step-label { font-size: 12.5px; font-weight: 600; margin-inline-start: 10px; color: var(--text-soft); white-space: nowrap; }
.step-item.active .step-label, .step-item.done .step-label { color: var(--text); }
.step-line { flex: 1; height: 2px; background: var(--border); margin-inline: 10px; }
.step-line.done { background: var(--success); }
@media (max-width: 640px) { .step-label { display: none; } }

.form-card { padding: 32px; }
@media (max-width: 640px) { .form-card { padding: 22px 18px; } }
.form-group { margin-bottom: 20px; }
.form-label { display: flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; margin-bottom: 8px; color: var(--heading); }
.form-label .opt-tag { font-weight: 400; color: var(--text-soft); font-size: 12px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 12px 15px; border-radius: var(--radius-s); border: 1.5px solid var(--border); background: var(--surface); font-size: 14.5px; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--brand); }
.form-input.err, .form-select.err { border-color: var(--danger); }
.form-textarea { resize: vertical; min-height: 90px; }
.field-err { color: var(--danger); font-size: 12.5px; margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row-2 { grid-template-columns: 1fr; } }

.dropzone { border: 2px dashed var(--border); border-radius: var(--radius-m); padding: 30px; text-align: center; cursor: pointer; transition: all .18s; background: var(--surface-2); }
.dropzone:hover, .dropzone.drag { border-color: var(--brand); }
.dropzone.err { border-color: var(--danger); }
.dropzone [data-lucide] { color: var(--brand-dark); width: 30px; height: 30px; }
html[data-theme="dark"] .dropzone [data-lucide] { color: var(--brand-light); }
.dropzone-text { font-weight: 700; margin-top: 10px; font-size: 14.5px; }
.dropzone-hint { font-size: 12.5px; color: var(--text-soft); margin-top: 4px; }
.id-preview { position: relative; border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--border); }
.id-preview img { width: 100%; max-height: 260px; object-fit: contain; background: var(--surface-2); }
.id-preview-actions { display: flex; gap: 10px; padding: 12px; background: var(--surface); }
.privacy-note { display: flex; gap: 10px; padding: 14px 16px; border-radius: var(--radius-s); background: var(--info-bg); color: var(--info); font-size: 12.5px; line-height: 1.6; margin-top: 14px; }
.agree-row { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: var(--radius-s); background: var(--surface-2); cursor: pointer; }
.agree-row input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.agree-row span { font-size: 13.5px; line-height: 1.55; }
.review-block { padding: 16px 18px; border-radius: var(--radius-s); background: var(--surface-2); margin-bottom: 12px; }
.review-row { display: flex; justify-content: space-between; padding-block: 8px; font-size: 14px; border-top: 1px solid var(--border); gap: 12px; }
.review-row:first-child { border-top: none; }
.review-row span:first-child { color: var(--text-soft); flex: none; }
.review-row span:last-child { font-weight: 700; text-align: end; }
.form-nav { display: flex; justify-content: space-between; margin-top: 26px; gap: 12px; }

.success-wrap { text-align: center; padding: 50px 20px; max-width: 480px; margin: 0 auto; }
.stamp { width: 108px; height: 108px; margin: 0 auto 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 3px solid var(--success); color: var(--success); transform: rotate(-8deg); position: relative; }
.stamp::before { content: ""; position: absolute; inset: 8px; border: 1px dashed var(--success); border-radius: 50%; opacity: .5; }
.stamp [data-lucide] { width: 44px; height: 44px; }
.ref-box { display: inline-flex; align-items: center; gap: 10px; background: var(--surface-2); padding: 12px 20px; border-radius: 999px; margin-top: 20px; font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: .04em; }

/* ---------------- Halls (public booking) ---------------- */
.halls-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap: 22px; margin-top: 30px; }
.hall-public-card { padding: 26px; }
.hall-public-card-head { display: flex; align-items: center; gap: 14px; }
.hall-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--surface-2); color: var(--brand-dark); display: flex; align-items: center; justify-content: center; flex: none; }
html[data-theme="dark"] .hall-icon { color: var(--brand-light); }
.slot-list { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.slot-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: var(--radius-s); background: var(--surface-2); flex-wrap: wrap; gap: 8px; }
.slot-info { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; }
.slot-date { font-weight: 700; }
.slot-time { color: var(--text-soft); }

/* ---------------- Customer portal ---------------- */
.portal-lookup { max-width: 480px; margin: 0 auto; padding: 36px 30px; text-align: center; }
.portal-lookup .icon-circle { width: 60px; height: 60px; border-radius: 50%; background: var(--surface-2); color: var(--brand-dark); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
html[data-theme="dark"] .portal-lookup .icon-circle { color: var(--brand-light); }
.portal-lookup-row { display: flex; gap: 10px; margin-top: 22px; }
.portal-lookup-row .form-input { flex: 1; }
.portal-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.portal-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; font-family: var(--font-display); }
.portal-user-row { display: flex; align-items: center; gap: 14px; }
.booking-card { padding: 22px; margin-bottom: 16px; }
.booking-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.booking-card h4 { font-size: 17px; margin-top: 4px; }
.booking-card-meta { display: flex; gap: 18px; margin-top: 12px; font-size: 12.5px; color: var(--text-soft); flex-wrap: wrap; }
.booking-card-meta span { display: flex; align-items: center; gap: 5px; }
.status-note { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-s); font-size: 13px; display: flex; gap: 9px; align-items: flex-start; }
.status-note.pending { background: var(--warn-bg); color: var(--warn); }
.status-note.confirmed { background: var(--success-bg); color: var(--success); }
.status-note.rejected { background: var(--danger-bg); color: var(--danger); }
.status-note.completed { background: var(--info-bg); color: var(--info); }
.status-note.cancelled { background: var(--surface-2); color: var(--text-soft); }

/* ---------------- Admin ---------------- */
.admin-login-wrap { min-height: 86vh; display: flex; align-items: center; justify-content: center; padding: 24px; }
.admin-login-card { width: 100%; max-width: 400px; padding: 38px 32px; text-align: center; }
.admin-login-icon { width: 58px; height: 58px; border-radius: 16px; background: var(--brand-ink); color: var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.admin-login-card .form-group { text-align: start; margin-top: 22px; }
.pin-input-wrap { position: relative; }
.pin-input-wrap button { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--text-soft); cursor: pointer; }

.admin-shell { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
@media (max-width: 880px) { .admin-shell { grid-template-columns: 1fr; } }
.admin-sidebar { background: var(--brand-ink); color: rgba(255,255,255,.85); padding: 22px 16px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
@media (max-width: 880px) { .admin-sidebar { position: static; height: auto; flex-direction: row; overflow-x: auto; padding: 14px 16px; align-items: center; } }
.admin-sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 6px 10px 22px; }
@media (max-width: 880px) { .admin-sidebar-brand { padding: 0; margin-inline-end: 12px; } .admin-sidebar-brand span { display: none; } }
.admin-sidebar-brand span { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.admin-nav-item { display: flex; align-items: center; gap: 11px; padding: 11px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; background: none; border: none; color: inherit; cursor: pointer; text-align: start; width: 100%; white-space: nowrap; }
.admin-nav-item:hover, .admin-nav-item.active { background: rgba(255,255,255,.12); color: #fff; }
.admin-nav-item .count { margin-inline-start: auto; background: var(--gold); color: #2A1E08; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px; }
.admin-sidebar-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
@media (max-width: 880px) { .admin-sidebar-foot { display: none; } }
.admin-sidebar-foot .toggles { display: flex; gap: 6px; margin-bottom: 8px; }
.admin-sidebar-foot .icon-btn { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }

.admin-content { padding: 30px 34px 60px; max-width: 1240px; }
@media (max-width: 640px) { .admin-content { padding: 20px 16px 50px; } }
.admin-content-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; flex-wrap: wrap; gap: 14px; }
.admin-content-head h2 { font-size: 25px; }

.stat-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-bottom: 32px; }
@media (max-width: 1080px) { .stat-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 640px) { .stat-grid { grid-template-columns: repeat(2,1fr); } }
.stat-card { padding: 20px; }
.stat-icon { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--brand-dark); }
html[data-theme="dark"] .stat-icon { color: var(--brand-light); }
.stat-num { font-family: var(--font-display); font-size: 30px; font-weight: 700; margin-top: 14px; color: var(--heading); }
.stat-label { font-size: 12.5px; color: var(--text-soft); margin-top: 2px; }

.table-wrap { overflow-x: auto; border-radius: var(--radius-m); border: 1px solid var(--border); background: var(--surface); }
table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.data-table th { text-align: start; padding: 13px 16px; background: var(--surface-2); color: var(--text-soft); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; white-space: nowrap; }
.data-table td { padding: 13px 16px; border-top: 1px solid var(--border); vertical-align: middle; }
.data-table tr:hover td { background: var(--surface-2); }
.cell-strong { font-weight: 700; color: var(--heading); }
.cell-muted { color: var(--text-soft); font-size: 13px; }
.row-actions { display: flex; gap: 6px; }
.table-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.table-filters { display: flex; gap: 10px; flex-wrap: wrap; }

.modal-overlay { position: fixed; inset: 0; background: var(--overlay); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.modal-box { background: var(--surface); border-radius: var(--radius-l); width: 100%; max-width: 560px; max-height: 88vh; overflow-y: auto; box-shadow: var(--shadow-l); }
.modal-box.wide { max-width: 760px; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface); z-index: 2; }
.modal-head h3 { font-size: 19px; }
.modal-body { padding: 24px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 24px; border-top: 1px solid var(--border); position: sticky; bottom: 0; background: var(--surface); flex-wrap: wrap; }
.detail-id-photo { border-radius: var(--radius-s); overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); }
.detail-id-photo img { width: 100%; max-height: 320px; object-fit: contain; }

.toast-banner { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: var(--radius-s); font-size: 13.5px; font-weight: 600; margin-bottom: 20px; }
.toast-banner.success { background: var(--success-bg); color: var(--success); }
.toast-banner.error { background: var(--danger-bg); color: var(--danger); }

.hall-card { padding: 22px; margin-bottom: 20px; }
.hall-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.hall-card-title { display: flex; align-items: center; gap: 12px; }

.settings-section { padding: 26px; margin-bottom: 22px; }
.settings-section h3 { font-size: 17px; display: flex; align-items: center; gap: 9px; }
.settings-section p.desc { color: var(--text-soft); font-size: 13.5px; margin-top: 8px; margin-bottom: 18px; line-height: 1.6; }
.danger-zone { border: 1.5px dashed var(--danger); background: var(--danger-bg); }
.danger-zone h3 { color: var(--danger); }

.customer-profile-head { text-align: center; padding-bottom: 10px; }
.customer-profile-head .portal-avatar { width: 70px; height: 70px; font-size: 24px; margin: 0 auto 14px; }

.stat-card-highlight { border: 2px solid #0284c7; background: linear-gradient(135deg, rgba(2,132,199,0.08) 0%, rgba(2,132,199,0.02) 100%); }
.stat-card-highlight .stat-num { color: #0284c7; }
.notif-dropdown { font-family: system-ui, -apple-system, sans-serif; }

/* ===================== Social Media Icons ===================== */
.footer-social-bar {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  padding: 22px 0 10px; border-top: 1px solid var(--border); margin-top: 24px;
  flex-wrap: wrap;
}
.footer-social-label {
  font-size: 13px; color: var(--text-soft); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.footer-social-icons {
  display: flex; gap: 12px; align-items: center;
}
.social-icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: #fff; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, opacity .2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18);
}
.social-icon-btn:hover { transform: translateY(-3px) scale(1.1); opacity: .92; box-shadow: 0 6px 18px rgba(0,0,0,0.28); }
.whatsapp-btn  { background: #25D366; }
.instagram-btn { background: linear-gradient(135deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.facebook-btn  { background: #1877F2; }

/* Floating WhatsApp button */
.wa-float-btn {
  position: fixed; bottom: 28px; inset-inline-end: 28px; z-index: 9000;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  text-decoration: none;
  animation: wa-pulse 2.5s infinite;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float-btn:hover { transform: scale(1.12); box-shadow: 0 6px 28px rgba(37,211,102,.6); animation: none; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,.7), 0 0 0 8px rgba(37,211,102,.12); }
}
