/* ===========================================================
   Page-specific layout rules (loaded after theme.css).
   =========================================================== */

/* ===== index.html — Home: glossy video/photo slider hero ===== */
.hero{ position:relative; padding:160px 0 130px; overflow:hidden; min-height:660px; display:flex; align-items:center; }
.hero-slider{ position:absolute; inset:0; z-index:0; overflow:hidden; border-radius:0 0 36px 36px; background:#0A1226; }
.hero-slide{ position:absolute; inset:0; opacity:0; transition:opacity 1.6s ease; }
.hero-slide.active{ opacity:1; z-index:1; }
.hero-slide video, .hero-slide .hero-slide-photo{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 30%;
  background-size:cover; background-position:center 30%;
}
/* Theme-reactive glossy scrim — covers the WHOLE hero (no boxed panel), strongest
   behind the text on the left, easing off (but never fully clear) toward the right
   so the video/photo still reads while staying one cohesive glassy surface. */
.hero-scrim{
  position:absolute; inset:0; z-index:2; pointer-events:none; border-radius:0 0 36px 36px;
  backdrop-filter:blur(2px); -webkit-backdrop-filter:blur(2px);
  background:
    linear-gradient(100deg, rgba(6,20,48,.82) 0%, rgba(6,20,48,.58) 30%, rgba(9,30,66,.4) 52%, rgba(9,30,66,.32) 100%),
    linear-gradient(0deg, rgba(4,14,34,.55) 0%, transparent 38%, transparent 80%, rgba(4,14,34,.35) 100%),
    linear-gradient(215deg, rgba(255,255,255,.12), transparent 40%);
  transition: opacity var(--transition), background var(--transition);
}
[data-theme="day"] .hero-scrim{
  background:
    linear-gradient(100deg, rgba(6,20,48,.68) 0%, rgba(11,47,107,.42) 32%, rgba(11,47,107,.24) 55%, rgba(240,215,123,.14) 100%),
    linear-gradient(0deg, rgba(4,14,34,.34) 0%, transparent 38%, transparent 80%, rgba(4,14,34,.2) 100%),
    linear-gradient(215deg, rgba(255,255,255,.16), transparent 40%);
}
.hero-rays{
  position:absolute; top:-30%; left:50%; width:900px; height:900px; transform:translateX(-50%);
  background:conic-gradient(from 0deg, transparent 0deg, rgba(240,215,123,calc(.08 + var(--dome-glow)*.16)) 8deg, transparent 16deg, transparent 40deg, rgba(240,215,123,calc(.06 + var(--dome-glow)*.14)) 48deg, transparent 56deg, transparent 90deg, rgba(240,215,123,calc(.08 + var(--dome-glow)*.16)) 98deg, transparent 106deg, transparent 140deg, rgba(240,215,123,calc(.06 + var(--dome-glow)*.14)) 148deg, transparent 156deg, transparent 200deg);
  animation: rotateRays 60s linear infinite; pointer-events:none; z-index:2; mix-blend-mode:screen;
}
.hero .wrap{ position:relative; z-index:3; }

/* Text sits directly on the scrim — no boxed glass panel to obstruct the media */
.hero-content{ max-width:600px; }
.hero .eyebrow{ color:var(--gold-1); }
.hero .eyebrow::before{ background:var(--gold-1); }
.hero h1{ font-size:50px; font-weight:500; line-height:1.12; margin-bottom:20px; color:#FFFFFF; text-shadow:0 4px 24px rgba(0,0,0,.45), 0 1px 3px rgba(0,0,0,.3); }
.hero h1 em{ font-style:normal; color:var(--gold-1); }
.hero p.lede{ font-size:15.5px; color:#F0F3FA; line-height:1.75; max-width:460px; margin-bottom:32px; font-weight:300; text-shadow:0 2px 14px rgba(0,0,0,.4); }
.cta-row{ display:flex; gap:16px; flex-wrap:wrap; }
.hero .btn-ghost{ border-color:rgba(246,238,214,.55); color:#F6EFD6; }
.hero .btn-ghost:hover{ border-color:var(--gold-1); color:var(--gold-1); }
.hero .btn-primary{ box-shadow:0 10px 30px rgba(6,20,48,.5); }

.hero-dots{ position:absolute; left:50%; bottom:26px; transform:translateX(-50%); z-index:4; display:flex; gap:9px; }
.hero-dots button{ width:8px; height:8px; padding:0; border-radius:50%; border:none; background:rgba(255,255,255,.4); cursor:pointer; transition:.3s; }
.hero-dots button.active{ width:24px; border-radius:6px; background:var(--gold-1); }

@media(prefers-reduced-motion: reduce){
  .hero-slide{ transition:none; }
}
@media(max-width:880px){
  .hero{ padding:120px 0 90px; min-height:600px; }
  .hero h1{ font-size:32px; }
}

/* ===== Inner-page intro banners: SAME whole-banner glossy scrim technique as
   the home hero — no boxed glass chip, text sits straight on the gradient. ===== */
.page-hero{ position:relative; overflow:hidden; border-radius:0 0 30px 30px; }
.page-hero-photo{ position:absolute; inset:0; z-index:0; background-size:cover; background-position:center; }
.page-hero-photo::after{
  content:''; position:absolute; inset:0; backdrop-filter:blur(2px);
  background:
    linear-gradient(180deg, rgba(6,20,48,.62) 0%, rgba(9,30,66,.32) 45%, rgba(6,20,48,.66) 100%),
    linear-gradient(215deg, rgba(255,255,255,.12), transparent 40%);
  transition:opacity var(--transition), background var(--transition);
  opacity: calc(.7 + var(--dome-glow) * .22);
}
[data-theme="day"] .page-hero-photo::after{
  background:
    linear-gradient(180deg, rgba(6,20,48,.5) 0%, rgba(11,47,107,.22) 45%, rgba(6,20,48,.52) 100%),
    linear-gradient(215deg, rgba(255,255,255,.16), transparent 40%);
}
.page-hero.has-photo .wrap{ position:relative; z-index:1; }
.page-hero.has-photo{ padding:130px 0 100px; display:flex; align-items:center; justify-content:center; text-align:center; }
.page-hero-glass{ max-width:640px; }
.page-hero.has-photo .eyebrow{ color:var(--gold-1); justify-content:center; }
.page-hero.has-photo h1{ color:#FFFFFF; text-shadow:0 4px 22px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.35); }
.page-hero.has-photo p{ color:#F0F3FA; text-shadow:0 2px 12px rgba(0,0,0,.45); }
@media(max-width:880px){
  .page-hero.has-photo{ padding:96px 0 70px; }
}

/* ===== Inner-page banner photo assignments (relative to assets/css/) ===== */
.about-hero-photo{ background-image:url('../images/hero/day.jpg'); }
.hukam-hero-photo{ background-image:url('../images/gallery/03.jpg'); }
.seva-hero-photo{ background-image:url('../images/gallery/07.jpg'); }
.events-hero-photo{ background-image:url('../images/gallery/05.jpg'); }
.live-hero-photo{ background-image:url('../images/gallery/08.jpg'); }
.radio-hero-photo{ background-image:url('../images/hero/night.jpg'); }

/* ===== live.html — Live Kirtan + Archives ===== */
.live-embed-wrap{ position:relative; aspect-ratio:16/9; border-radius:var(--radius-lg); overflow:hidden; box-shadow:0 20px 50px rgba(6,26,62,.2); }
.live-embed-wrap iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.live-now-head{ display:flex; align-items:center; gap:16px; margin-bottom:20px; flex-wrap:wrap; }
.archive-embed-wrap{ position:relative; aspect-ratio:16/9; border-radius:var(--radius-lg); overflow:hidden; box-shadow:0 20px 50px rgba(6,26,62,.14); }
.archive-embed-wrap iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.jatha-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.jatha-card{ padding:22px 18px; text-align:center; }
.jatha-card .initial{
  width:52px; height:52px; margin:0 auto 12px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--gold-1),var(--gold-2)); color:#231a02; font-family:'Jost'; font-weight:600; font-size:18px;
}
.jatha-card h4{ font-family:'Jost'; font-size:13.5px; line-height:1.4; }
.schedule-list{ display:flex; flex-direction:column; gap:2px; }
.schedule-row{ display:flex; justify-content:space-between; align-items:center; padding:16px 22px; }
.schedule-row .name{ font-family:'Jost'; font-size:14.5px; }
.schedule-row .time{ font-size:13px; color:var(--gold-2); font-weight:600; letter-spacing:.03em; }
.radio-cta{ display:flex; align-items:center; justify-content:space-between; gap:24px; padding:34px 40px; flex-wrap:wrap; }
.radio-cta h3{ font-size:22px; margin-bottom:6px; }
.radio-cta p{ font-size:13px; color:var(--text-soft); }
@media(max-width:880px){
  .jatha-grid{ grid-template-columns:repeat(2,1fr); }
  .radio-cta{ flex-direction:column; align-items:flex-start; text-align:left; }
}
@media(max-width:520px){
  .jatha-grid{ grid-template-columns:1fr; }
  .schedule-row{ padding:14px 18px; }
  .live-now-head{ gap:10px; }
}

/* ===== radio.html — playlist player ===== */
.radio-page-shell{ min-height:60vh; padding:60px 0; }
.radio-shell-grid{ display:grid; grid-template-columns:440px 1fr; gap:28px; align-items:start; max-width:940px; margin:0 auto; }
.radio-player-card{
  width:100%; padding:48px 40px; text-align:center; position:relative;
}
.radio-progress{ height:4px; background:var(--border); border-radius:4px; overflow:hidden; margin:16px 0 6px; cursor:pointer; }
.radio-progress-fill{ height:100%; width:0%; background:linear-gradient(90deg,var(--gold-1),var(--gold-2)); }
.radio-time-row{ display:flex; justify-content:space-between; font-size:10.5px; color:var(--text-soft); margin-bottom:18px; }
.radio-skip-btn{ width:42px; height:42px; border-radius:50%; border:1px solid var(--border); background:var(--surface); display:flex; align-items:center; justify-content:center; cursor:pointer; color:var(--text); flex-shrink:0; }
.radio-skip-btn:hover{ border-color:var(--gold-2); color:var(--gold-2); }
.radio-skip-btn svg{ width:16px; height:16px; }
.radio-queue-card{ padding:26px; max-height:560px; display:flex; flex-direction:column; }
.radio-queue-card h3{ font-size:15px; margin-bottom:14px; }
.radio-queue-search{ margin-bottom:12px; }
.radio-queue-search input{ width:100%; padding:10px 14px; border-radius:var(--radius-sm); border:1px solid var(--border); background:var(--bg); font-family:'Poppins'; font-size:13px; color:var(--text); }
.radio-queue-list{ overflow-y:auto; display:flex; flex-direction:column; gap:2px; }
.radio-queue-item{ display:flex; align-items:center; gap:12px; padding:10px 8px; border-radius:var(--radius-sm); cursor:pointer; }
.radio-queue-item:hover{ background:var(--bg-2); }
.radio-queue-item.active{ background:rgba(201,162,39,.14); }
.radio-queue-item .n{ width:20px; text-align:center; font-size:11px; color:var(--text-soft); flex-shrink:0; }
.radio-queue-item.active .n{ color:var(--gold-2); }
.radio-queue-item .t{ flex:1; min-width:0; }
.radio-queue-item .t .title{ font-size:12.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.radio-queue-item .t .artist{ font-size:11px; color:var(--text-soft); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.radio-queue-item .d{ font-size:11px; color:var(--text-soft); flex-shrink:0; }
@media(max-width:880px){ .radio-shell-grid{ grid-template-columns:1fr; } .radio-queue-card{ max-height:420px; } }
.radio-player-card .radio-disc{ width:150px; height:150px; margin:0 auto 28px; box-shadow:0 0 0 8px rgba(201,162,39,.1), 0 20px 50px rgba(6,26,62,.2); }
.radio-player-card .radio-disc::after{ inset:32%; }
.radio-station{ font-size:11px; letter-spacing:.2em; text-transform:uppercase; color:var(--gold-2); margin-bottom:8px; }
.radio-now-playing{ font-size:20px; margin-bottom:6px; }
.radio-sub{ font-size:12.5px; color:var(--text-soft); margin-bottom:30px; }
.radio-controls{ display:flex; align-items:center; justify-content:center; gap:22px; margin-bottom:26px; }
.radio-play-btn{
  width:64px; height:64px; border-radius:50%; border:none; cursor:pointer;
  background:linear-gradient(135deg,var(--gold-1),var(--gold-2)); color:#231a02;
  display:flex; align-items:center; justify-content:center; box-shadow:0 10px 26px rgba(201,162,39,.35);
}
.radio-play-btn svg{ width:26px; height:26px; }
.radio-volume{ display:flex; align-items:center; gap:10px; max-width:220px; margin:0 auto; }
.radio-volume input[type="range"]{ flex:1; accent-color:var(--gold-2); }
.radio-status-note{ margin-top:26px; font-size:12px; color:var(--text-soft); min-height:18px; }
.radio-bars-lg{ display:flex; gap:5px; align-items:flex-end; height:34px; justify-content:center; margin-bottom:22px; }
.radio-bars-lg span{ width:4px; background:var(--gold-2); animation:bar 1s infinite ease-in-out; animation-play-state:paused; border-radius:2px; }
.radio-bars-lg.playing span{ animation-play-state:running; }
.radio-bars-lg span:nth-child(1){height:35%; animation-delay:0s;}
.radio-bars-lg span:nth-child(2){height:90%; animation-delay:.15s;}
.radio-bars-lg span:nth-child(3){height:55%; animation-delay:.3s;}
.radio-bars-lg span:nth-child(4){height:100%; animation-delay:.45s;}
.radio-bars-lg span:nth-child(5){height:60%; animation-delay:.6s;}
@media(max-width:520px){
  .radio-player-card{ padding:36px 24px; }
  .radio-player-card .radio-disc{ width:120px; height:120px; }
}

/* ===== hukamnama.html — Hukamnama archive ===== */
.hukam-archive-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:26px; }
.hukam-archive-grid .hukam-card{ padding:34px 36px; }
.archive-note{ max-width:720px; margin:0 auto 44px; text-align:center; font-size:13.5px; color:var(--text-soft); line-height:1.8; }

.archive-controls{ display:flex; flex-direction:column; gap:16px; align-items:center; margin-bottom:40px; }
.archive-filters{ display:flex; gap:9px; flex-wrap:wrap; justify-content:center; }
.archive-filter-btn{
  font-family:'Poppins'; font-size:12px; letter-spacing:.02em; padding:9px 18px; border-radius:30px;
  border:1px solid var(--border); background:var(--surface); color:var(--text-soft); cursor:pointer; transition:.2s;
}
.archive-filter-btn.active{ background:var(--author-accent, var(--blue-1)); border-color:var(--author-accent, var(--blue-1)); color:#fff; }
.archive-sort{ display:flex; gap:2px; background:var(--bg-2); border-radius:20px; padding:3px; }
.sort-btn{ font-family:'Poppins'; font-size:11px; padding:7px 16px; border-radius:20px; border:none; background:transparent; color:var(--text-soft); cursor:pointer; }
.sort-btn.active{ background:var(--surface); color:var(--text); box-shadow:0 2px 8px rgba(0,0,0,.08); }
.archive-sentinel{ height:4px; }
.archive-loading, .archive-end{ text-align:center; font-size:12.5px; color:var(--text-soft); padding:20px 0; }
.archive-loading::before{
  content:''; display:inline-block; width:12px; height:12px; margin-right:8px; border-radius:50%;
  border:2px solid var(--border); border-top-color:var(--gold-2); animation:spin .8s linear infinite; vertical-align:middle;
}

@media(max-width:880px){
  .hukam-archive-grid{ grid-template-columns:1fr; }
}

/* ===== seva.html — Seva & Giving ===== */
.seva-tabs{ display:flex; gap:10px; justify-content:center; margin-bottom:48px; flex-wrap:wrap; }
.seva-tabs button{
  font-family:'Poppins'; font-size:13px; letter-spacing:.03em; padding:12px 26px; border-radius:30px;
  border:1px solid var(--border); background:var(--surface); color:var(--text-soft); cursor:pointer; transition:.25s;
}
.seva-tabs button.active{ background:var(--blue-1); color:#fff; border-color:var(--blue-1); }
.seva-panel{ display:none; }
.seva-panel.active{ display:block; animation:fadeIn .4s ease; }
@keyframes fadeIn{ from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:translateY(0);} }

.seva-highlights{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-bottom:56px; }
.seva-highlight{ padding:28px 24px; text-align:center; }
.seva-highlight .ico{ width:44px; height:44px; margin:0 auto 16px; }
.seva-highlight h4{ font-family:'Jost'; font-size:16px; margin-bottom:10px; }
.seva-highlight p{ font-size:13px; color:var(--text-soft); line-height:1.7; }

.give-grid{ display:grid; grid-template-columns:1.3fr .7fr; gap:30px; align-items:start; }
.fund-list{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.fund-card{ padding:20px 22px; }
.fund-card h4{ font-family:'Jost'; font-size:14.5px; margin-bottom:6px; }
.fund-card p{ font-size:12px; color:var(--text-soft); line-height:1.6; }
.qr-card{ padding:30px; text-align:center; }
.qr-box{ width:170px; height:170px; margin:0 auto 16px; border-radius:var(--radius-md); border:1px dashed var(--border); display:flex; align-items:center; justify-content:center; background:var(--bg-2); font-size:11px; color:var(--text-soft); padding:12px; text-align:center; }
.bank-details{ margin-top:22px; text-align:left; font-size:12.5px; color:var(--text-soft); line-height:2; border-top:1px solid var(--border); padding-top:18px; }
.bank-details b{ color:var(--text); font-weight:500; }

.volunteer-checks{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.check-item{ display:flex; align-items:center; gap:10px; font-size:13.5px; padding:10px 14px; border:1px solid var(--border); border-radius:var(--radius-sm); }

@media(max-width:880px){
  .seva-highlights, .fund-list, .volunteer-checks{ grid-template-columns:1fr; }
  .give-grid{ grid-template-columns:1fr; }
}

/* ===== connect.html — About & Connect ===== */
.about-grid{ display:grid; grid-template-columns:1.2fr .8fr; gap:40px; align-items:start; }
.about-grid p{ font-size:14.5px; color:var(--text-soft); line-height:1.85; margin-bottom:16px; }
.about-facts{ display:flex; flex-direction:column; gap:14px; }
.fact-card{ padding:20px 22px; display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; }
.fact-card .k{ font-size:12px; color:var(--text-soft); }
.fact-card .v{ font-family:'Jost'; font-size:15px; }

.pillars-detail-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.pillar-detail{ padding:32px 28px; }
.pillar-detail .tag{ font-size:10.5px; letter-spacing:.18em; text-transform:uppercase; color:var(--gold-2); margin-bottom:10px; display:block; }
.pillar-detail h3{ font-size:19px; margin-bottom:12px; }
.pillar-detail ul{ margin:0; padding-left:18px; }
.pillar-detail li{ font-size:13.5px; color:var(--text-soft); line-height:1.8; }

.testimonial-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.testimonial-card{ padding:28px 26px; }
.testimonial-card .stars{ color:var(--gold-2); font-size:13px; margin-bottom:12px; letter-spacing:.1em; }
.testimonial-card p{ font-size:13.5px; color:var(--text); line-height:1.7; font-style:italic; margin-bottom:14px; }
.testimonial-card .src{ font-size:11.5px; color:var(--text-soft); }

.map-embed{ border-radius:var(--radius-lg); overflow:hidden; aspect-ratio:16/9; box-shadow:0 20px 50px rgba(6,26,62,.14); }
.map-embed iframe{ width:100%; height:100%; border:0; }

.committee-note{ padding:30px 32px; text-align:center; max-width:720px; margin:0 auto; }
.committee-note p{ font-size:13.5px; color:var(--text-soft); line-height:1.8; }

/* ===== Follow-us highlight (Instagram / YouTube) ===== */
.follow-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; margin-bottom:18px; }
.follow-card{
  position:relative; overflow:hidden; padding:32px 34px; display:flex; align-items:center; gap:20px;
  border:none; color:#fff;
}
.follow-card.instagram{ background:linear-gradient(135deg,#4f5bd5,#962fbf 30%,#d62976 55%,#fa7e1e 78%,#feda75); }
.follow-card.youtube{ background:linear-gradient(135deg,#3a0a0a,#c4302b 60%,#8a1f1f); }
.follow-card .ic{ width:52px; height:52px; border-radius:50%; background:rgba(255,255,255,.16); display:flex; align-items:center; justify-content:center; flex-shrink:0; backdrop-filter:blur(6px); }
.follow-card .ic svg{ width:26px; height:26px; }
.follow-card .count{ font-family:'Jost'; font-size:22px; font-weight:600; }
.follow-card .label{ font-size:12.5px; opacity:.9; margin-bottom:2px; }
.follow-card .cta{ margin-left:auto; font-size:12px; padding:9px 16px; border-radius:20px; background:rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.4); white-space:nowrap; }
.follow-card .cta:hover{ background:rgba(255,255,255,.3); }
.follow-minor{ display:flex; gap:14px; justify-content:center; }
.follow-minor a{
  display:flex; align-items:center; gap:8px; padding:12px 20px; border-radius:30px; border:1px solid var(--border);
  font-size:13px; color:var(--text-soft);
}
.follow-minor a:hover{ border-color:var(--gold-2); color:var(--gold-2); }
.follow-minor svg{ width:16px; height:16px; }

@media(max-width:520px){
  .follow-card{ flex-wrap:wrap; padding:26px; }
  .follow-card .cta{ margin-left:0; }
}
@media(max-width:880px){
  .about-grid{ grid-template-columns:1fr; }
  .pillars-detail-grid, .testimonial-grid, .follow-grid{ grid-template-columns:1fr; }
  .follow-minor{ flex-wrap:wrap; }
}

/* ===== Shared: Toast notifications ===== */
.toast-wrap{
  position:fixed; top:24px; right:24px; z-index:9999; display:flex; flex-direction:column; gap:10px; pointer-events:none;
}
.toast{
  min-width:280px; max-width:380px; padding:14px 18px; border-radius:var(--radius-md);
  background:var(--surface); border:1px solid var(--border); box-shadow:0 12px 30px rgba(6,26,62,.22);
  font-family:'Poppins'; font-size:13px; line-height:1.5; color:var(--text);
  pointer-events:auto; animation:toastIn .35s ease; display:flex; align-items:flex-start; gap:12px;
}
.toast.success{ border-left:3px solid #2f9e68; }
.toast.error{ border-left:3px solid #c4302b; }
.toast.info{ border-left:3px solid var(--blue-1); }
.toast .toast-ic{
  width:22px; height:22px; flex-shrink:0; border-radius:50%; display:flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:700; color:#fff;
}
.toast.success .toast-ic{ background:#2f9e68; }
.toast.error .toast-ic{ background:#c4302b; }
.toast.info .toast-ic{ background:var(--blue-1); }
.toast.fade{ animation:toastOut .3s ease forwards; }
@keyframes toastIn{ from{opacity:0; transform:translateX(30px);} to{opacity:1; transform:translateX(0);} }
@keyframes toastOut{ to{opacity:0; transform:translateX(30px);} }
@media(max-width:520px){ .toast-wrap{ top:12px; right:12px; left:12px; } .toast{ min-width:0; } }

/* ===== Shared: Modal overlay ===== */
.modal-overlay{
  position:fixed; inset:0; z-index:9990; background:rgba(6,18,42,.7); backdrop-filter:blur(4px);
  display:flex; align-items:center; justify-content:center; padding:20px; animation:fadeIn .25s ease;
}
.modal-overlay.hidden{ display:none; }
.modal-card{
  background:var(--surface); border-radius:var(--radius-lg); max-width:520px; width:100%; max-height:90vh; overflow:auto;
  border:1px solid var(--border); box-shadow:0 30px 80px rgba(6,26,62,.4);
}
.modal-head{
  display:flex; align-items:center; justify-content:space-between; padding:22px 26px;
  border-bottom:1px solid var(--border);
}
.modal-head h3{ font-size:18px; margin:0; }
.modal-close{
  width:32px; height:32px; border-radius:50%; border:none; background:var(--bg-2); cursor:pointer;
  display:flex; align-items:center; justify-content:center; font-size:18px; color:var(--text-soft);
}
.modal-close:hover{ background:var(--border); color:var(--text); }
.modal-body{ padding:26px; }
.modal-foot{ padding:18px 26px; border-top:1px solid var(--border); display:flex; gap:10px; justify-content:flex-end; }

/* ===== Shared: Forms — auth, profile ===== */
.auth-wrap{ min-height:70vh; padding:60px 0; display:flex; align-items:center; justify-content:center; }
.auth-card{
  max-width:460px; width:100%; padding:40px 38px;
}
.auth-tabs{
  display:flex; gap:4px; background:var(--bg-2); border-radius:30px; padding:4px; margin-bottom:28px;
}
.auth-tabs button{
  flex:1; font-family:'Poppins'; font-size:13px; padding:10px 18px; border-radius:30px;
  border:none; background:transparent; color:var(--text-soft); cursor:pointer; transition:.2s;
}
.auth-tabs button.active{ background:var(--surface); color:var(--text); box-shadow:0 2px 8px rgba(0,0,0,.08); }
.auth-panel{ display:none; }
.auth-panel.active{ display:block; animation:fadeIn .3s ease; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-grid .field.full{ grid-column:1 / -1; }
.field{ display:flex; flex-direction:column; gap:6px; }
.field label{ font-family:'Poppins'; font-size:12px; color:var(--text-soft); letter-spacing:.02em; }
.field input, .field select, .field textarea{
  width:100%; padding:11px 14px; border-radius:var(--radius-sm); border:1px solid var(--border);
  background:var(--bg); color:var(--text); font-family:'Poppins'; font-size:13.5px; transition:.2s;
  box-sizing:border-box;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--gold-2); box-shadow:0 0 0 3px rgba(201,162,39,.15);
}
.field textarea{ min-height:90px; resize:vertical; }
.field-row{ display:flex; align-items:center; justify-content:space-between; gap:14px; margin:4px 0 16px; flex-wrap:wrap; }
.checkbox-inline{ display:flex; align-items:center; gap:8px; font-size:12.5px; color:var(--text-soft); cursor:pointer; }
.checkbox-inline input{ accent-color:var(--gold-2); }
.link-soft{ font-size:12.5px; color:var(--blue-1); text-decoration:none; }
.link-soft:hover{ text-decoration:underline; }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:11px 22px; border-radius:var(--radius-sm); border:none; cursor:pointer;
  font-family:'Poppins'; font-size:13px; font-weight:500; letter-spacing:.02em; transition:.2s; text-decoration:none;
}
.btn-block{ width:100%; }
.btn-primary{
  background:linear-gradient(135deg,var(--gold-1),var(--gold-2)); color:#231a02;
  box-shadow:0 8px 20px rgba(201,162,39,.28);
}
.btn-primary:hover{ transform:translateY(-1px); box-shadow:0 12px 26px rgba(201,162,39,.35); }
.btn-ghost{
  background:transparent; border:1px solid var(--border); color:var(--text);
}
.btn-ghost:hover{ border-color:var(--gold-2); color:var(--gold-2); }
.btn-sm{ padding:7px 14px; font-size:11.5px; }
.btn-gold{
  background:linear-gradient(135deg,var(--gold-1),var(--gold-2)); color:#231a02;
  box-shadow:0 8px 20px rgba(201,162,39,.28);
}
.auth-footer-text{ text-align:center; font-size:12.5px; color:var(--text-soft); margin-top:22px; }
.auth-footer-text a{ color:var(--blue-1); text-decoration:none; font-weight:500; }
.form-note{ font-size:11.5px; color:var(--text-soft); line-height:1.7; margin-top:14px; }
.interest-group{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.lang-3-group{
  display:flex; flex-direction:column; gap:8px;
}
.lang-3-group .lang-field{ display:flex; gap:8px; align-items:flex-start; }
.lang-3-group .lang-tag{
  width:40px; flex-shrink:0; font-size:10.5px; font-weight:600; padding:6px 0; text-align:center;
  background:var(--bg-2); border-radius:4px; color:var(--text-soft); letter-spacing:.05em;
}
.lang-3-group .lang-field textarea{ flex:1; min-height:50px; }
@media(max-width:520px){
  .auth-card{ padding:28px 22px; }
  .form-grid{ grid-template-columns:1fr; }
  .interest-group{ grid-template-columns:1fr; }
}

/* ===== Forgot password state ===== */
.state-sent{
  text-align:center; padding:18px 0;
}
.state-sent .big-ic, .state-sent .sent-icon{
  width:72px; height:72px; margin:0 auto 20px; border-radius:50%;
  background:rgba(47,158,104,.12); color:#2f9e68; display:flex; align-items:center; justify-content:center; font-size:30px;
}
.state-sent h3{ font-size:20px; margin-bottom:8px; }
.state-sent p{ font-size:13.5px; color:var(--text-soft); line-height:1.7; margin-bottom:24px; }

/* ===== Dashboard layout ===== */
.dash-wrap{ padding:40px 0 80px; }
.dash-top-bar{
  display:flex; align-items:center; justify-content:space-between; margin-bottom:26px; flex-wrap:wrap; gap:14px;
}
.dash-user-chip{
  display:flex; align-items:center; gap:12px;
}
.avatar{
  width:42px; height:42px; border-radius:50%; background:linear-gradient(135deg,var(--gold-1),var(--gold-2));
  display:flex; align-items:center; justify-content:center; font-family:'Jost'; font-weight:600; color:#231a02; font-size:15px; flex-shrink:0;
}
.dash-user-chip .u-name{ font-size:14px; font-weight:500; }
.dash-user-chip .u-email{ font-size:11.5px; color:var(--text-soft); }
.dash-logout{ font-size:12px; color:var(--text-soft); background:none; border:1px solid var(--border); padding:7px 14px; border-radius:20px; cursor:pointer; }
.dash-logout:hover{ border-color:#c4302b; color:#c4302b; }
.dash-shell{ display:grid; grid-template-columns:240px 1fr; gap:26px; align-items:start; }
.dash-sidebar{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:16px;
  position:sticky; top:90px;
}
.dash-nav{ display:flex; flex-direction:column; gap:4px; }
.dash-nav a{
  display:flex; align-items:center; gap:10px; padding:11px 14px; border-radius:var(--radius-sm);
  font-family:'Poppins'; font-size:12.5px; color:var(--text-soft); text-decoration:none; transition:.15s;
}
.dash-nav a:hover{ background:var(--bg-2); color:var(--text); }
.dash-nav a.active{ background:rgba(201,162,39,.14); color:var(--gold-2); font-weight:500; }
.dash-nav a .nav-ic{
  width:28px; height:28px; border-radius:6px; background:var(--bg-2);
  display:flex; align-items:center; justify-content:center; font-size:13px; flex-shrink:0;
}
.dash-nav a.active .nav-ic{ background:var(--gold-2); color:#231a02; }

.dash-stat-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:26px; }
.stat-card{
  padding:22px; position:relative; overflow:hidden;
}
.stat-card::before{
  content:''; position:absolute; top:-30px; right:-30px; width:90px; height:90px; border-radius:50%;
  background:rgba(201,162,39,.08);
}
.stat-card .stat-label{ font-size:11.5px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.08em; margin-bottom:8px; }
.stat-card .stat-value{ font-family:'Jost'; font-size:30px; font-weight:600; }
.stat-card .stat-foot{ font-size:11px; color:var(--text-soft); margin-top:6px; }
.dash-2col{ display:grid; grid-template-columns:1.3fr 1fr; gap:20px; margin-bottom:26px; }
.card-head{
  display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; padding-bottom:14px; border-bottom:1px solid var(--border);
}
.card-head h3{ font-size:15px; margin:0; }
.card-head .card-sub{ font-size:11px; color:var(--text-soft); }
.appointment-list{ display:flex; flex-direction:column; gap:10px; }
.appointment-item{
  display:flex; align-items:center; gap:14px; padding:14px; border-radius:var(--radius-sm); background:var(--bg-2);
}
.appointment-item .date-pill{
  width:54px; height:54px; border-radius:var(--radius-sm); background:linear-gradient(135deg,var(--gold-1),var(--gold-2));
  display:flex; flex-direction:column; align-items:center; justify-content:center; color:#231a02; flex-shrink:0;
}
.appointment-item .date-pill .d{ font-family:'Jost'; font-size:18px; font-weight:600; line-height:1; }
.appointment-item .date-pill .m{ font-size:9.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; }
.appointment-item .ai-body{ flex:1; min-width:0; }
.appointment-item .ai-title{ font-size:13px; font-weight:500; margin-bottom:2px; }
.appointment-item .ai-meta{ font-size:11.5px; color:var(--text-soft); }
.appointment-item .ai-status{
  font-size:10.5px; padding:5px 10px; border-radius:20px; font-weight:500; flex-shrink:0;
}
.appointment-item .ai-status.confirmed{ background:rgba(47,158,104,.14); color:#2f9e68; }
.appointment-item .ai-status.pending{ background:rgba(201,162,39,.14); color:var(--gold-2); }
.appointment-item .ai-status.completed{ background:var(--bg); color:var(--text-soft); }

.quick-actions{ display:grid; grid-template-columns:1fr; gap:10px; }
.qa-btn{
  display:flex; align-items:center; gap:14px; padding:14px 16px; border-radius:var(--radius-sm);
  background:var(--bg-2); cursor:pointer; transition:.2s; text-decoration:none; color:var(--text);
}
.qa-btn:hover{ background:rgba(201,162,39,.12); transform:translateX(2px); }
.qa-btn .qa-ic{
  width:36px; height:36px; border-radius:8px; background:rgba(201,162,39,.14); color:var(--gold-2);
  display:flex; align-items:center; justify-content:center; font-size:16px; flex-shrink:0;
}
.qa-btn .qa-text{ flex:1; }
.qa-btn .qa-text .t{ font-size:13px; font-weight:500; }
.qa-btn .qa-text .s{ font-size:11px; color:var(--text-soft); margin-top:2px; }
.qa-btn .qa-arrow{ color:var(--gold-2); font-size:14px; }

.receipt-list{ display:flex; flex-direction:column; gap:8px; }
.receipt-item{
  display:flex; align-items:center; gap:14px; padding:12px 14px; border-radius:var(--radius-sm); border:1px solid var(--border);
}
.receipt-item .r-ic{
  width:36px; height:36px; border-radius:8px; background:var(--bg-2);
  display:flex; align-items:center; justify-content:center; font-size:14px; flex-shrink:0;
}
.receipt-item .r-body{ flex:1; min-width:0; }
.receipt-item .r-title{ font-size:12.5px; font-weight:500; }
.receipt-item .r-meta{ font-size:11px; color:var(--text-soft); margin-top:2px; }
.receipt-item .r-actions{ display:flex; gap:6px; flex-shrink:0; }
.icon-btn{
  width:32px; height:32px; border-radius:8px; border:1px solid var(--border); background:var(--surface);
  cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:12px; color:var(--text-soft); transition:.15s;
}
.icon-btn:hover{ border-color:var(--gold-2); color:var(--gold-2); }

/* Dashboard tabs */
.dash-tab{ display:none; }
.dash-tab.active{ display:block; animation:fadeIn .3s ease; }
.page-table{
  width:100%; border-collapse:separate; border-spacing:0; font-size:12.5px;
}
.page-table thead th{
  text-align:left; padding:12px 16px; background:var(--bg-2); font-weight:500; color:var(--text-soft);
  font-size:11px; text-transform:uppercase; letter-spacing:.06em; border-bottom:1px solid var(--border);
}
.page-table thead th:first-child{ border-radius:var(--radius-sm) 0 0 0; }
.page-table thead th:last-child{ border-radius:0 var(--radius-sm) 0 0; }
.page-table tbody td{
  padding:14px 16px; border-bottom:1px solid var(--border); vertical-align:middle;
}
.page-table tbody tr:last-child td{ border-bottom:none; }
.page-table tbody tr:hover{ background:var(--bg-2); }
.badge{ display:inline-block; padding:4px 10px; border-radius:20px; font-size:10.5px; font-weight:500; }
.badge.confirmed{ background:rgba(47,158,104,.14); color:#2f9e68; }
.badge.pending{ background:rgba(201,162,39,.14); color:var(--gold-2); }
.badge.completed{ background:var(--bg-2); color:var(--text-soft); }
.badge.langar{ background:rgba(31,122,92,.14); color:#1F7A5C; }
.badge.building{ background:rgba(18,58,130,.14); color:#123A82; }
.badge.education{ background:rgba(107,63,160,.14); color:#6B3FA0; }
.badge.general{ background:var(--bg-2); color:var(--text-soft); }
.badge.medical{ background:rgba(138,31,45,.14); color:#8A1F2D; }
.badge.padhai{ background:rgba(138,143,31,.14); color:#8A8F1F; }

.donuts-wrap{ display:grid; grid-template-columns:260px 1fr; gap:26px; align-items:center; }
.donut{
  width:200px; height:200px; margin:0 auto; position:relative;
  background:conic-gradient(#C9A227 0 35%, #123A82 35% 60%, #1F7A5C 60% 80%, #8A1F2D 80% 92%, #6B3FA0 92% 100%);
  border-radius:50%;
}
.donut::after{
  content:''; position:absolute; inset:20%; border-radius:50%; background:var(--surface);
}
.donut-center{
  position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; z-index:2;
}
.donut-center .total{ font-family:'Jost'; font-size:22px; font-weight:600; }
.donut-center .lbl{ font-size:10.5px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.08em; }
.legend-list{ display:flex; flex-direction:column; gap:10px; }
.legend-item{ display:flex; align-items:center; gap:10px; }
.legend-dot{ width:12px; height:12px; border-radius:50%; flex-shrink:0; }
.legend-item .l-name{ font-size:12.5px; flex:1; }
.legend-item .l-val{ font-family:'Jost'; font-size:13px; font-weight:500; }
.legend-item .l-pct{ font-size:11px; color:var(--text-soft); width:50px; text-align:right; }

.profile-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.profile-section{ margin-bottom:26px; }
.profile-section h4{ font-size:14px; margin:0 0 14px; padding-bottom:10px; border-bottom:1px solid var(--border); }

@media(max-width:880px){
  .dash-shell{ grid-template-columns:1fr; }
  .dash-sidebar{ position:static; }
  .dash-stat-grid{ grid-template-columns:repeat(2,1fr); }
  .dash-2col{ grid-template-columns:1fr; }
  .donuts-wrap{ grid-template-columns:1fr; }
  .profile-grid{ grid-template-columns:1fr; }
}
@media(max-width:520px){
  .dash-stat-grid{ grid-template-columns:1fr; }
}

/* ===== Auth wall (seva.html) ===== */
.auth-wall{
  position:relative; border-radius:var(--radius-lg); overflow:hidden; min-height:480px;
  display:flex; align-items:center; justify-content:center;
}
.auth-wall.hidden{ display:none; }
.auth-wall-bg{
  position:absolute; inset:0; background-image:url('../images/gallery/07.jpg'); background-size:cover; background-position:center;
  filter:blur(14px); transform:scale(1.05);
}
.auth-wall-scrim{
  position:absolute; inset:0; background:linear-gradient(135deg,rgba(6,20,48,.78),rgba(11,47,107,.62));
}
.auth-wall-content{
  position:relative; z-index:1; text-align:center; padding:40px; color:#fff; max-width:520px;
}
.auth-wall-content h2{ font-size:28px; color:#fff; margin-bottom:10px; }
.auth-wall-content p{ font-size:14.5px; color:rgba(255,255,255,.85); margin-bottom:28px; }
.auth-wall-ctas{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-bottom:18px; }
.auth-wall-ctas .btn-primary{ padding:13px 28px; }
.auth-wall-ctas .btn-ghost{
  padding:13px 28px; border-color:rgba(255,255,255,.35); color:#fff;
}
.auth-wall-ctas .btn-ghost:hover{ border-color:var(--gold-2); color:var(--gold-2); }
.guest-link{
  font-size:12.5px; color:rgba(255,255,255,.65); cursor:pointer; text-decoration:underline;
}
.seva-content-head{
  display:flex; align-items:center; justify-content:space-between; margin-bottom:26px; flex-wrap:wrap; gap:14px;
}

/* ===== Seva wizard (booking) ===== */
.wizard-steps{
  display:flex; align-items:center; justify-content:center; gap:0; margin-bottom:36px;
  max-width:720px; margin-left:auto; margin-right:auto;
}
.step{
  flex:1; display:flex; align-items:center; gap:10px; position:relative;
}
.step-num{
  width:36px; height:36px; border-radius:50%; background:var(--bg-2); color:var(--text-soft);
  display:flex; align-items:center; justify-content:center; font-family:'Jost'; font-weight:600; font-size:14px;
  flex-shrink:0; transition:.25s;
}
.step.active .step-num{
  background:linear-gradient(135deg,var(--gold-1),var(--gold-2)); color:#231a02;
  box-shadow:0 6px 16px rgba(201,162,39,.3);
}
.step.done .step-num{ background:rgba(47,158,104,.18); color:#2f9e68; }
.step-label{
  font-size:11.5px; color:var(--text-soft); font-weight:500;
}
.step.active .step-label{ color:var(--text); }
.step-connector{
  flex:1; height:2px; background:var(--border); margin:0 8px; transition:.25s;
}
.step-connector.done{ background:rgba(47,158,104,.6); }

.wizard-panel{ display:none; }
.wizard-panel.active{ display:block; animation:fadeIn .35s ease; }
.path-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:26px; }
.path-card{
  padding:28px 24px; text-align:center; cursor:pointer; transition:.25s; border:2px solid var(--border);
}
.path-card:hover{ transform:translateY(-3px); box-shadow:0 14px 30px rgba(6,26,62,.12); }
.path-card.selected{ border-color:var(--gold-2); background:rgba(201,162,39,.06); }
.path-card .path-ic, .path-card .path-ico{
  width:60px; height:60px; border-radius:50%; background:linear-gradient(135deg,var(--gold-1),var(--gold-2));
  display:flex; align-items:center; justify-content:center; margin:0 auto 16px; font-size:26px; color:#231a02;
}
/* Booking/donation summary sidebars (seva.html) — label-left, value-right rows. */
.sum-row{ display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid var(--border); }
.sum-row:last-child{ border-bottom:none; }
.sum-lbl{ font-size:12px; color:var(--text-soft); }
.sum-val{ font-family:'Jost'; font-size:13.5px; text-align:right; }
.path-card h3{ font-size:17px; margin-bottom:8px; }
.path-card .path-name-pa{ font-family:'Noto Sans Gurmukhi'; font-size:15px; color:var(--gold-2); margin-bottom:10px; }
.path-card .path-desc{ font-size:12.5px; color:var(--text-soft); line-height:1.7; margin-bottom:16px; min-height:60px; }
.path-card .path-meta{
  display:flex; justify-content:space-around; padding-top:14px; border-top:1px solid var(--border);
}
.path-card .path-meta .p-item{ }
.path-card .path-meta .p-label{ font-size:10px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.08em; }
.path-card .path-meta .p-value{ font-family:'Jost'; font-size:14px; font-weight:600; margin-top:2px; color:var(--gold-2); }

.calendar-wrap{
  max-width:680px; margin:0 auto 26px; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:22px;
}
.calendar-head{
  display:flex; align-items:center; justify-content:space-between; margin-bottom:18px;
}
.calendar-head h3{ font-size:16px; font-family:'Jost'; }
.cal-nav-btn{
  width:36px; height:36px; border-radius:50%; border:1px solid var(--border); background:var(--bg);
  cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:14px; color:var(--text-soft);
}
.cal-nav-btn:hover{ border-color:var(--gold-2); color:var(--gold-2); }
.calendar-grid{
  display:grid; grid-template-columns:repeat(7,1fr); gap:6px;
}
.cal-dow{
  text-align:center; font-size:10.5px; font-weight:600; color:var(--text-soft);
  text-transform:uppercase; letter-spacing:.08em; padding:8px 0;
}
.cal-day{
  aspect-ratio:1; border-radius:10px; display:flex; align-items:center; justify-content:center;
  font-family:'Jost'; font-size:13.5px; cursor:pointer; transition:.15s; background:var(--bg-2);
  position:relative;
}
.cal-day:hover:not(.disabled):not(.empty){ background:rgba(201,162,39,.15); }
.cal-day.empty{ background:transparent; cursor:default; }
.cal-day.disabled{ opacity:.3; cursor:not-allowed; background:var(--bg); }
.cal-day.available{ background:rgba(47,158,104,.12); color:#2f9e68; border:1px dashed rgba(47,158,104,.3); }
.cal-day.available:hover{ background:rgba(47,158,104,.22); }
.cal-day.selected{
  background:linear-gradient(135deg,var(--gold-1),var(--gold-2)); color:#231a02; font-weight:600;
  box-shadow:0 6px 14px rgba(201,162,39,.3);
}
.cal-day.in-range{ background:rgba(201,162,39,.22); }

.wizard-2col{ display:grid; grid-template-columns:1.5fr 1fr; gap:22px; align-items:start; }
.summary-card{
  padding:26px; position:sticky; top:90px;
}
.summary-card h4{ font-size:14px; margin:0 0 16px; padding-bottom:12px; border-bottom:1px solid var(--border); }
.summary-row{ display:flex; justify-content:space-between; padding:8px 0; font-size:13px; }
.summary-row .k{ color:var(--text-soft); }
.summary-row .v{ font-weight:500; }
.summary-row.total{ border-top:1px solid var(--border); padding-top:14px; margin-top:8px; }
.summary-row.total .v{ font-family:'Jost'; font-size:18px; color:var(--gold-2); font-weight:600; }
.slider-row{ margin-top:14px; }
.slider-row label{ font-size:12px; color:var(--text-soft); display:block; margin-bottom:6px; }
.slider-row input[type="range"]{ width:100%; accent-color:var(--gold-2); }
.slider-row .val{ text-align:right; font-family:'Jost'; font-size:13px; color:var(--gold-2); font-weight:600; margin-top:4px; }

.wizard-foot{
  display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:26px;
  max-width:680px; margin-left:auto; margin-right:auto;
}
.member-list{ display:flex; flex-direction:column; gap:8px; margin-bottom:10px; }
.member-item{
  display:flex; gap:8px; align-items:center;
}
.member-item input{ flex:1; }
.remove-member{
  width:36px; height:36px; border-radius:8px; border:1px solid var(--border); background:var(--bg);
  cursor:pointer; color:#c4302b; display:flex; align-items:center; justify-content:center; font-size:14px;
}
.add-btn{
  display:inline-flex; align-items:center; gap:6px; padding:9px 16px; border-radius:8px;
  border:1px dashed var(--border); background:transparent; color:var(--text-soft);
  font-family:'Poppins'; font-size:12px; cursor:pointer;
}
.add-btn:hover{ border-color:var(--gold-2); color:var(--gold-2); }

/* Success screen */
.success-screen{
  text-align:center; padding:60px 20px; max-width:560px; margin:0 auto;
}
.success-screen .big-check{
  width:90px; height:90px; margin:0 auto 26px; border-radius:50%;
  background:linear-gradient(135deg,#2f9e68,#4FBE96); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:40px;
  box-shadow:0 20px 40px rgba(47,158,104,.3);
  animation:popIn .5s cubic-bezier(.2,1.4,.4,1);
}
@keyframes popIn{
  0%{ transform:scale(.3); opacity:0; }
  100%{ transform:scale(1); opacity:1; }
}
.success-screen h2{ font-size:26px; margin-bottom:8px; }
.success-screen .ref{
  display:inline-block; padding:8px 20px; border-radius:30px; background:var(--bg-2);
  font-family:'Jost'; font-size:14px; margin:16px 0; letter-spacing:.05em;
}
.success-screen .ref .lbl{ font-size:10.5px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.1em; margin-right:8px; }
.success-screen p{ font-size:13.5px; color:var(--text-soft); line-height:1.7; margin-bottom:24px; }
.success-ctas{ display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }

/* ===== Funds (donations) ===== */
.funds-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin-bottom:26px; }
.fund-card-select{
  padding:20px; border:2px solid var(--border); border-radius:var(--radius-md); cursor:pointer; transition:.2s;
  position:relative; overflow:hidden;
}
.fund-card-select::before{
  content:''; position:absolute; top:0; left:0; right:0; height:3px; background:var(--accent, var(--gold-2));
  transform:scaleX(0); transition:.25s;
}
.fund-card-select:hover{ transform:translateY(-2px); }
.fund-card-select.selected{ border-color:var(--accent, var(--gold-2)); background:rgba(201,162,39,.05); }
.fund-card-select.selected::before{ transform:scaleX(1); }
.fund-card-select .fc-ic{
  width:44px; height:44px; border-radius:12px; background:var(--fc-bg, rgba(201,162,39,.14));
  color:var(--accent, var(--gold-2)); display:flex; align-items:center; justify-content:center;
  font-size:18px; margin-bottom:12px;
}
.fund-card-select h4{ font-size:14px; margin-bottom:6px; }
.fund-card-select .fc-hi{ font-family:'Noto Sans Gurmukhi'; font-size:13px; color:var(--accent, var(--gold-2)); margin-bottom:6px; }
.fund-card-select p{ font-size:11.5px; color:var(--text-soft); line-height:1.6; }

.amount-row{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:12px; }
.amount-btn{
  flex:1; min-width:84px; padding:12px 10px; border:1px solid var(--border); border-radius:var(--radius-sm);
  background:var(--surface); cursor:pointer; font-family:'Jost'; font-size:15px; font-weight:500;
  transition:.15s; text-align:center;
}
.amount-btn:hover{ border-color:var(--gold-2); }
.amount-btn.selected{
  background:linear-gradient(135deg,var(--gold-1),var(--gold-2)); color:#231a02; border-color:transparent;
  box-shadow:0 6px 14px rgba(201,162,39,.25);
}
.custom-amount{
  display:flex; align-items:center; border:1px solid var(--border); border-radius:var(--radius-sm); overflow:hidden;
}
.custom-amount .prefix{ padding:0 14px; color:var(--text-soft); font-family:'Jost'; font-weight:500; }
.custom-amount input{
  flex:1; padding:12px 14px 12px 0; border:none; background:var(--bg); font-family:'Jost';
  font-size:15px; outline:none; color:var(--text);
}
.pay-tabs{
  display:flex; gap:4px; background:var(--bg-2); border-radius:20px; padding:4px; margin:22px 0 18px;
}
.pay-tabs button{
  flex:1; font-family:'Poppins'; font-size:12px; padding:9px 16px; border-radius:18px;
  border:none; background:transparent; color:var(--text-soft); cursor:pointer; transition:.2s;
}
.pay-tabs button.active{ background:var(--surface); color:var(--text); box-shadow:0 2px 6px rgba(0,0,0,.08); }

/* ===== Volunteer ===== */
.skill-chips{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:20px; }
.skill-chip{
  padding:9px 16px; border-radius:30px; border:1px solid var(--border); background:var(--surface);
  font-family:'Poppins'; font-size:12.5px; cursor:pointer; transition:.15s; display:inline-flex;
  align-items:center; gap:8px;
}
.skill-chip:hover{ border-color:var(--gold-2); }
.skill-chip.selected{
  background:rgba(201,162,39,.14); border-color:var(--gold-2); color:var(--gold-2); font-weight:500;
}
.day-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:8px; margin-bottom:20px; }
.day-chip{
  padding:12px 6px; border:1px solid var(--border); border-radius:10px; text-align:center;
  cursor:pointer; transition:.15s; background:var(--surface);
}
.day-chip:hover{ border-color:var(--gold-2); }
.day-chip.selected{
  background:rgba(47,158,104,.14); border-color:#2f9e68; color:#2f9e68;
}
.day-chip .d-name{ font-size:10.5px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.05em; }
.day-chip .d-num{ font-family:'Jost'; font-size:15px; font-weight:600; margin-top:2px; }

/* ===== Events enhanced ===== */
.page-tabs{
  display:flex; gap:4px; background:var(--bg-2); border-radius:30px; padding:4px; margin-bottom:30px;
  max-width:fit-content; margin-left:auto; margin-right:auto;
}
.page-tabs button{
  font-family:'Poppins'; font-size:12.5px; padding:10px 24px; border-radius:30px;
  border:none; background:transparent; color:var(--text-soft); cursor:pointer; transition:.2s;
}
.page-tabs button.active{ background:var(--surface); color:var(--text); box-shadow:0 2px 10px rgba(0,0,0,.08); }
.page-tab-panel{ display:none; }
.page-tab-panel.active{ display:block; animation:fadeIn .35s ease; }
/* seva.html's Book/Give/Volunteer panels use .tab-panel (not .page-tab-panel)
   with the same [data-tab-panel] + .active toggling mechanism. */
.tab-panel{ display:none; }
.tab-panel.active{ display:block; animation:fadeIn .35s ease; }

.filter-bar{
  display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin-bottom:24px; padding:16px 20px;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
}
.filter-bar .search-box{
  position:relative; flex:1; min-width:200px; max-width:320px;
}
.filter-bar .search-box input{
  width:100%; padding:10px 14px 10px 40px; border-radius:24px; border:1px solid var(--border);
  background:var(--bg); font-family:'Poppins'; font-size:12.5px; outline:none; color:var(--text);
  box-sizing:border-box;
}
.filter-bar .search-box input:focus{ border-color:var(--gold-2); }
.filter-bar .search-box .ic{
  position:absolute; left:14px; top:50%; transform:translateY(-50%); font-size:13px; color:var(--text-soft);
}
.filter-chips{ display:flex; gap:8px; flex-wrap:wrap; }
.chip{
  display:inline-flex; align-items:center; gap:6px; padding:7px 14px; border-radius:20px;
  background:var(--bg-2); border:1px solid var(--border); font-family:'Poppins'; font-size:11.5px;
  color:var(--text-soft); cursor:pointer; transition:.15s;
}
.chip:hover{ border-color:var(--gold-2); }
.chip.active{
  background:var(--chip-accent, var(--gold-2)); color:#fff; border-color:transparent;
  font-weight:500;
}
.chip .count{
  min-width:18px; height:18px; padding:0 5px; border-radius:9px; background:rgba(0,0,0,.12);
  font-size:10px; display:inline-flex; align-items:center; justify-content:center; font-weight:600;
}
.chip .chip-count{
  min-width:18px; height:18px; padding:0 5px; border-radius:9px; background:rgba(0,0,0,.12);
  font-size:10px; display:inline-flex; align-items:center; justify-content:center; font-weight:600;
}
/* live.html's filter row uses chips-row/filter-search directly rather than
   .filter-bar's .filter-chips/.search-box wrappers — same look. */
.chips-row{ display:flex; gap:8px; flex-wrap:wrap; }
.filter-search{
  position:relative; flex:1; min-width:200px; max-width:320px; display:flex; align-items:center;
}
.filter-search span{ position:absolute; left:14px; font-size:13px; color:var(--text-soft); pointer-events:none; }
.filter-search input{
  width:100%; padding:10px 14px 10px 40px; border-radius:24px; border:1px solid var(--border);
  background:var(--bg); font-family:'Poppins'; font-size:12.5px; outline:none; color:var(--text);
  box-sizing:border-box;
}
.filter-search input:focus{ border-color:var(--gold-2); }
.filter-select{
  padding:9px 14px; border-radius:20px; border:1px solid var(--border); background:var(--bg);
  font-family:'Poppins'; font-size:12px; color:var(--text); cursor:pointer; outline:none;
}
.programs-grid-full{
  display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:24px;
}
.pagination{
  display:flex; align-items:center; justify-content:center; gap:8px; margin-top:30px;
}
.pagination button{
  min-width:36px; height:36px; border-radius:10px; border:1px solid var(--border); background:var(--surface);
  cursor:pointer; font-family:'Poppins'; font-size:12px; color:var(--text-soft); padding:0 10px;
}
.pagination button:hover:not(:disabled){ border-color:var(--gold-2); color:var(--gold-2); }
.pagination button.active{
  background:linear-gradient(135deg,var(--gold-1),var(--gold-2)); color:#231a02;
  border-color:transparent; font-weight:600;
}
.pagination button:disabled{ opacity:.4; cursor:not-allowed; }
.pagination .page-info{ font-size:12px; color:var(--text-soft); margin:0 10px; }

/* Lightbox */
.lightbox{
  position:fixed; inset:0; z-index:9995; background:rgba(4,12,30,.95); display:none;
  align-items:center; justify-content:center; flex-direction:column; padding:30px;
  animation:fadeIn .25s ease;
}
.lightbox.hidden{ display:none; }
.lightbox.open{ display:flex; }
.lightbox-close{
  position:absolute; top:24px; right:24px; width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,.1); color:#fff; border:none; cursor:pointer; font-size:22px;
  display:flex; align-items:center; justify-content:center; backdrop-filter:blur(6px);
}
.lightbox-close:hover{ background:rgba(255,255,255,.2); }
.lightbox-nav{
  position:absolute; top:50%; transform:translateY(-50%); width:50px; height:50px; border-radius:50%;
  background:rgba(255,255,255,.1); color:#fff; border:none; cursor:pointer; font-size:22px;
  display:flex; align-items:center; justify-content:center; backdrop-filter:blur(6px);
  transition:.2s;
}
.lightbox-nav:hover{ background:rgba(255,255,255,.2); }
.lightbox-nav.prev{ left:24px; }
.lightbox-nav.next{ right:24px; }
.lightbox-img-wrap{
  flex:1; display:flex; align-items:center; justify-content:center; max-width:100%; width:100%;
}
.lightbox-img-wrap img{
  max-width:100%; max-height:75vh; border-radius:var(--radius-md); box-shadow:0 30px 80px rgba(0,0,0,.5);
}
.lightbox-caption{
  max-width:720px; width:100%; margin-top:20px; text-align:center; color:#fff;
}
.lightbox-caption .cap-main{ font-size:15px; font-weight:500; margin-bottom:8px; }
.lightbox-caption .cap-tr{ display:flex; justify-content:center; gap:16px; flex-wrap:wrap; }
.lightbox-caption .cap-tr span{ font-family:'Noto Sans Gurmukhi'; font-size:14px; color:rgba(255,255,255,.75); }
.lightbox-actions{ margin-top:14px; display:flex; justify-content:center; gap:10px; }
.lightbox-actions .btn-ghost{
  border-color:rgba(255,255,255,.25); color:#fff; background:transparent;
}
.lightbox-actions .btn-ghost:hover{ border-color:var(--gold-2); color:var(--gold-2); }

/* Events lightbox lb-* prefix classes (matches events.html actual DOM) */
.lb-close{
  position:absolute; top:24px; right:24px; width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,.1); color:#fff; border:none; cursor:pointer; font-size:22px;
  display:flex; align-items:center; justify-content:center; backdrop-filter:blur(6px);
}
.lb-close:hover{ background:rgba(255,255,255,.2); }
.lb-prev, .lb-next{
  position:absolute; top:50%; transform:translateY(-50%); width:50px; height:50px; border-radius:50%;
  background:rgba(255,255,255,.1); color:#fff; border:none; cursor:pointer; font-size:22px;
  display:flex; align-items:center; justify-content:center; backdrop-filter:blur(6px);
  transition:.2s;
}
.lb-prev:hover, .lb-next:hover{ background:rgba(255,255,255,.2); }
.lb-prev{ left:24px; }
.lb-next{ right:24px; }
.lb-inner{
  flex:1; display:flex; align-items:center; justify-content:center; max-width:100%; width:100%;
  flex-direction:column;
}
.lb-image{
  max-width:100%; max-height:75vh; border-radius:var(--radius-md); box-shadow:0 30px 80px rgba(0,0,0,.5);
}
.lb-caption{
  max-width:720px; width:100%; margin-top:20px; text-align:center; color:#fff;
}
.lb-cap-en{ font-size:15px; font-weight:500; margin-bottom:8px; }
.lb-cap-hi{ font-size:14px; color:rgba(255,255,255,.8); margin-bottom:4px; }
.lb-cap-pa{ font-family:'Noto Sans Gurmukhi'; font-size:14px; color:rgba(255,255,255,.75); margin-bottom:4px; }
.lb-actions{ margin-top:14px; display:flex; justify-content:center; gap:10px; }
.lb-download{
  border-color:rgba(255,255,255,.25); color:#fff; background:transparent;
  padding:8px 16px; border-radius:var(--radius-sm); border:1px solid rgba(255,255,255,.25);
  cursor:pointer; font-family:'Poppins'; font-size:12px; transition:.2s;
}
.lb-download:hover{ border-color:var(--gold-2); color:var(--gold-2); }

.gallery-grid-full{
  display:grid; grid-template-columns:repeat(4,1fr); gap:10px;
}
.gallery-grid-full .g-item{
  aspect-ratio:1; border-radius:var(--radius-sm); cursor:pointer; overflow:hidden; position:relative;
  background-size:cover; background-position:center; transition:.25s;
}
.gallery-grid-full .g-item::after{
  content:''; position:absolute; inset:0; background:linear-gradient(0deg,rgba(0,0,0,.55),transparent 50%);
  opacity:0; transition:.25s;
}
.gallery-grid-full .g-item span{
  position:absolute; bottom:12px; left:14px; right:14px; color:#fff; font-size:11.5px;
  opacity:0; transition:.25s; z-index:1; line-height:1.4;
}
.gallery-grid-full .g-item:hover{ transform:scale(1.02); }
.gallery-grid-full .g-item:hover::after, .gallery-grid-full .g-item:hover span{ opacity:1; }
.gallery-grid-full .g-item:first-child{ grid-column:span 2; grid-row:span 2; aspect-ratio:auto; }
@media(max-width:880px){
  .programs-grid-full{ grid-template-columns:repeat(2,1fr); }
  .gallery-grid-full{ grid-template-columns:repeat(3,1fr); }
}
@media(max-width:520px){
  .programs-grid-full{ grid-template-columns:1fr; }
  .gallery-grid-full{ grid-template-columns:repeat(2,1fr); }
  .gallery-grid-full .g-item:first-child{ grid-column:span 2; grid-row:span 1; aspect-ratio:2/1; }
  .filter-bar{ flex-direction:column; align-items:stretch; }
  .filter-bar .search-box{ max-width:none; }
  .page-tabs{ flex-direction:column; }
  .page-tabs button{ width:100%; }
}

/* ===== Live enhanced ===== */
.live-hero-photo { }
.hash-tabs{
  display:flex; gap:4px; background:var(--bg-2); border-radius:30px; padding:4px; margin-bottom:30px;
  max-width:fit-content; margin-left:auto; margin-right:auto;
}
.hash-tabs button{
  font-family:'Poppins'; font-size:13px; padding:11px 26px; border-radius:30px;
  border:none; background:transparent; color:var(--text-soft); cursor:pointer; transition:.2s;
  display:flex; align-items:center; gap:8px;
}
.hash-tabs button.active{ background:var(--surface); color:var(--text); box-shadow:0 2px 10px rgba(0,0,0,.08); font-weight:500; }
.hash-tabs .live-dot{
  width:8px; height:8px; border-radius:50%; background:#c4302b; animation:blink 1.2s infinite;
}
@keyframes blink{ 0%,100%{opacity:1;} 50%{opacity:.4;} }
.hash-tab-panel{ display:none; }
.hash-tab-panel.active{ display:block; animation:fadeIn .35s ease; }

.live-now-grid{ display:grid; grid-template-columns:1.5fr 1fr; gap:24px; align-items:start; }
.live-tabs{ margin-bottom:30px; }
.live-title{ font-size:19px; margin-bottom:4px; }
.live-meta{ font-size:12px; color:var(--text-soft); }
.live-share-row{ display:flex; justify-content:space-between; align-items:flex-start; gap:16px; padding-top:18px; flex-wrap:wrap; }
.live-actions{ display:flex; gap:8px; flex-wrap:wrap; }
.live-description{ padding-top:18px; margin-top:14px; border-top:1px solid var(--border); }
.live-description h5{ font-size:13px; margin-bottom:8px; }
.live-description p{ font-size:12.5px; color:var(--text-soft); line-height:1.75; }
.live-details-card h4{ font-size:15px; margin-bottom:14px; }
.event-details-card{ padding:28px; }
.event-details-card h3{ font-size:20px; margin-bottom:6px; }
.event-details-card .ed-date{
  display:inline-flex; align-items:center; gap:8px; font-size:12.5px; color:var(--gold-2);
  font-weight:500; margin-bottom:16px; padding:6px 14px; border-radius:20px; background:rgba(201,162,39,.12);
}
.event-details-card p{ font-size:13px; color:var(--text-soft); line-height:1.75; margin-bottom:20px; }
.artist-chip{
  display:flex; align-items:center; gap:14px; padding:14px; border-radius:var(--radius-md);
  background:var(--bg-2); margin-bottom:16px;
}
.artist-chip .a-photo{
  width:52px; height:52px; border-radius:50%; background:linear-gradient(135deg,var(--gold-1),var(--gold-2));
  display:flex; align-items:center; justify-content:center; font-family:'Jost'; font-weight:600;
  color:#231a02; font-size:16px; flex-shrink:0;
}
.artist-chip .a-info{ flex:1; min-width:0; }
.artist-chip .a-name{ font-size:13px; font-weight:500; }
.artist-chip .a-bio{ font-size:11.5px; color:var(--text-soft); margin-top:2px; line-height:1.5; }
.artist-chip .a-more{ font-size:11.5px; color:var(--blue-1); cursor:pointer; white-space:nowrap; }
/* live.html's actual artist-chip markup uses artist-thumb/artist-body/artist-name/
   artist-bio/artist-more instead of a-photo/a-info/a-name/a-bio/a-more above —
   same visual language, matching the real class names in use. */
.artist-chip .artist-thumb{
  width:52px; height:52px; border-radius:50%; background-size:cover; background-position:center;
  background-color:var(--bg-2); flex-shrink:0;
}
.artist-chip .artist-body{ flex:1; min-width:0; }
.artist-chip .artist-name{ font-size:13px; font-weight:500; }
.artist-chip .artist-bio{ font-size:11.5px; color:var(--text-soft); margin-top:2px; line-height:1.5; }
.artist-chip .artist-more{ font-size:11.5px; color:var(--blue-1); cursor:pointer; white-space:nowrap; background:none; border:none; padding:0; font-family:'Poppins'; margin-top:4px; }
.artist-pill{
  display:inline-flex; align-items:center; gap:4px; padding:3px 10px; border-radius:12px;
  background:var(--bg-2); font-size:10.5px; color:var(--text-soft); width:fit-content; margin-bottom:6px;
}
.share-row{ display:flex; gap:8px; margin-top:18px; flex-wrap:wrap; }
.share-btn{
  padding:8px 14px; border-radius:20px; border:1px solid var(--border); background:var(--bg);
  font-family:'Poppins'; font-size:11.5px; cursor:pointer; display:inline-flex; align-items:center; gap:6px;
  color:var(--text-soft);
}
.share-btn:hover{ border-color:var(--gold-2); color:var(--gold-2); }

.featured-tile{
  grid-column:span 2;
  display:grid; grid-template-columns:1.4fr 1fr; gap:0;
  border-radius:var(--radius-lg); overflow:hidden; margin-bottom:22px;
  background:var(--surface); border:1px solid var(--border);
}
.featured-tile .ft-cover{
  background-size:cover; background-position:center; min-height:260px; position:relative;
}
.featured-tile .ft-cover::after{
  content:''; position:absolute; inset:0; background:linear-gradient(90deg,transparent,rgba(6,20,48,.85));
}
.featured-tile .ft-body{ padding:32px; display:flex; flex-direction:column; justify-content:center; }
.featured-tile .ft-tag{ display:inline-block; padding:5px 12px; border-radius:16px; background:rgba(201,162,39,.15); color:var(--gold-2); font-size:10.5px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; margin-bottom:12px; width:fit-content; }
.featured-tile h3{ font-size:22px; margin-bottom:8px; line-height:1.3; }
.featured-tile .ft-meta{ font-size:12.5px; color:var(--text-soft); margin-bottom:16px; display:flex; gap:14px; flex-wrap:wrap; }
.featured-tile .ft-desc{ font-size:13px; color:var(--text-soft); line-height:1.75; margin-bottom:20px; }
/* live.html's actual featured-banner markup uses featured-cover/featured-body/
   featured-meta directly on the .featured-tile children (no ft- prefix). */
.featured-cover{ background-size:cover; background-position:center; min-height:220px; }
.featured-body{ padding:32px; display:flex; flex-direction:column; justify-content:center; }
.featured-meta{ font-size:12.5px; color:var(--text-soft); margin-bottom:6px; display:flex; gap:14px; flex-wrap:wrap; }
@media(max-width:880px){ .featured-cover{ min-height:180px; } }

.events-grid-6{
  display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-bottom:24px;
}
/* live.html's event-card: a vertical photo-top card (cover photo, a small gold
   date badge, then body) — distinct from the older horizontal .ec-date/.ec-body
   pattern below (unused, kept for reference). */
.event-card{
  display:flex; flex-direction:column; gap:0; border-radius:var(--radius-md); overflow:hidden;
  background:var(--surface); border:1px solid var(--border); transition:.2s;
}
.event-card:hover{ transform:translateY(-2px); box-shadow:0 14px 30px rgba(6,26,62,.1); }
.event-card .event-cover{ height:130px; background-size:cover; background-position:center; }
.event-card .event-date-block{ margin:-24px 16px 0; box-shadow:0 6px 16px rgba(6,26,62,.25), 0 0 0 3px var(--surface); }
.event-card .event-body{ padding:14px 16px 18px; display:flex; flex-direction:column; gap:6px; }
.event-card .event-title{ font-size:13.5px; font-weight:500; line-height:1.4; }
.event-card .event-time{ font-size:11.5px; color:var(--text-soft); }
.event-card.featured-wide{ grid-column:span 2; }
.event-card.featured-wide .event-cover{ height:180px; }
.event-card .ec-date{
  width:78px; flex-shrink:0; padding:14px 10px; text-align:center;
  background:linear-gradient(180deg,var(--gold-1),var(--gold-2)); color:#231a02;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
}
.event-card .ec-date .d{ font-family:'Jost'; font-size:26px; font-weight:600; line-height:1; }
.event-card .ec-date .m{ font-size:10px; font-weight:600; letter-spacing:.1em; text-transform:uppercase; margin-top:4px; }
.event-card .ec-date .y{ font-size:10px; opacity:.7; margin-top:2px; }
.event-card .ec-body{ flex:1; padding:16px 18px; display:flex; flex-direction:column; gap:8px; }
.event-card .ec-artist{
  display:inline-block; padding:3px 10px; border-radius:12px; background:var(--bg-2);
  font-size:10.5px; color:var(--text-soft); width:fit-content;
}
.event-card .ec-title{ font-size:13.5px; font-weight:500; line-height:1.4; }
.event-card .ec-time{ font-size:11.5px; color:var(--text-soft); display:flex; align-items:center; gap:6px; }
.event-card .ec-foot{ display:flex; justify-content:space-between; align-items:center; margin-top:auto; padding-top:10px; }

.archive-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:24px;
}
.archive-thumb{
  aspect-ratio:16/9; border-radius:var(--radius-sm); background-size:cover; background-position:center;
  position:relative; cursor:pointer; overflow:hidden;
}
.archive-thumb::after{
  content:''; position:absolute; inset:0; background:linear-gradient(0deg,rgba(0,0,0,.65),transparent 50%);
  opacity:0; transition:.2s;
}
.archive-thumb:hover::after{ opacity:1; }
.archive-thumb .dur{
  position:absolute; bottom:8px; right:8px; padding:2px 8px; border-radius:4px;
  background:rgba(0,0,0,.8); color:#fff; font-size:10.5px; font-weight:500;
}
.archive-thumb .play{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  opacity:0; transition:.2s;
}
.archive-thumb:hover .play{ opacity:1; }
.archive-thumb .play .pb{
  width:48px; height:48px; border-radius:50%; background:rgba(255,255,255,.9); color:#231a02;
  display:flex; align-items:center; justify-content:center; font-size:18px;
}

/* Jatha modal */
.jatha-profile{ text-align:center; }
.jatha-profile .jp-photo{
  width:100px; height:100px; border-radius:50%; margin:0 auto 18px;
  background:linear-gradient(135deg,var(--gold-1),var(--gold-2));
  display:flex; align-items:center; justify-content:center; font-family:'Jost'; font-size:32px;
  font-weight:600; color:#231a02;
}
.jatha-profile h3{ font-size:20px; margin-bottom:4px; }
.jatha-profile .jp-role{ font-size:12px; color:var(--gold-2); margin-bottom:18px; letter-spacing:.06em; text-transform:uppercase; }
.jatha-profile p{ font-size:13px; color:var(--text-soft); line-height:1.8; margin-bottom:22px; }
.jp-event-list{ display:flex; flex-direction:column; gap:8px; text-align:left; }
.jp-event-item{
  display:flex; justify-content:space-between; align-items:center; padding:10px 14px;
  background:var(--bg-2); border-radius:var(--radius-sm); font-size:12.5px;
}
.jp-event-item .d{ color:var(--text-soft); font-size:11.5px; }

@media(max-width:880px){
  .live-now-grid{ grid-template-columns:1fr; }
  .featured-tile{ grid-template-columns:1fr; grid-column:span 1; }
  .featured-tile .ft-cover{ min-height:180px; }
  .events-grid-6{ grid-template-columns:repeat(2,1fr); }
  .archive-grid{ grid-template-columns:repeat(2,1fr); }
}
@media(max-width:520px){
  .events-grid-6{ grid-template-columns:1fr; }
  .archive-grid{ grid-template-columns:1fr; }
  .hash-tabs{ flex-direction:column; align-items:stretch; }
  .hash-tabs button{ justify-content:center; }
}

/* ===== Radio enhanced ===== */
.radio-hero-equalizer{
  display:flex; gap:5px; align-items:flex-end; height:34px; justify-content:center; margin:14px 0 8px;
}
.radio-hero-equalizer span{
  width:4px; background:var(--gold-2); border-radius:2px; animation:bar 1s infinite ease-in-out;
}
.radio-hero-equalizer span:nth-child(1){height:35%;animation-delay:0s;}
.radio-hero-equalizer span:nth-child(2){height:90%;animation-delay:.12s;}
.radio-hero-equalizer span:nth-child(3){height:55%;animation-delay:.24s;}
.radio-hero-equalizer span:nth-child(4){height:100%;animation-delay:.36s;}
.radio-hero-equalizer span:nth-child(5){height:65%;animation-delay:.48s;}
.radio-hero-equalizer span:nth-child(6){height:85%;animation-delay:.6s;}
.radio-hero-equalizer span:nth-child(7){height:45%;animation-delay:.72s;}

.radio-toolbar{
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:26px;
  padding:20px 26px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
}
/* radio.html's actual toolbar markup: toolbar-left/toolbar-now/toolbar-right
   with on-air-dot/on-air-label/on-air-track/on-air-artist inside toolbar-now
   (same intent as .now-on-air/.noa-* above, real class names used here). */
.toolbar-left, .toolbar-right{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.toolbar-now{ display:flex; align-items:center; gap:10px; flex:1; min-width:0; }
.on-air-dot{ width:8px; height:8px; border-radius:50%; background:#c4302b; animation:blink 1.2s infinite; flex-shrink:0; }
.on-air-label{ font-size:10px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.1em; white-space:nowrap; }
.on-air-track{ font-size:13.5px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.on-air-artist{ font-size:11.5px; color:var(--text-soft); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.playlist-select{
  position:relative; min-width:260px;
}
.playlist-select select{
  width:100%; padding:11px 44px 11px 16px; border-radius:var(--radius-sm); border:1px solid var(--border);
  background:var(--bg); font-family:'Poppins'; font-size:13px; outline:none; color:var(--text);
  appearance:none; cursor:pointer;
}
.playlist-select::after{
  content:'▾'; position:absolute; right:16px; top:50%; transform:translateY(-50%);
  font-size:12px; color:var(--text-soft); pointer-events:none;
}
.now-on-air{
  display:flex; align-items:center; gap:14px; flex:1; min-width:0;
}
.now-on-air .noa-label{
  font-size:10px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.12em;
  padding:4px 10px; border-radius:12px; background:var(--bg-2); white-space:nowrap;
}
.now-on-air .noa-track{
  font-size:13.5px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.now-on-air .noa-artist{
  font-size:11.5px; color:var(--text-soft); white-space:nowrap;
}
.live-pill{
  display:inline-flex; align-items:center; gap:6px; padding:6px 14px; border-radius:20px;
  background:rgba(196,48,43,.12); color:#c4302b; font-size:11px; font-weight:600;
  letter-spacing:.08em;
}
.live-pill .dot{ width:7px; height:7px; border-radius:50%; background:#c4302b; animation:blink 1.2s infinite; }

.radio-2col{ display:grid; grid-template-columns:1.3fr 1fr; gap:22px; align-items:start; }
/* Frontend radio simplified mode — single centered player card, no song selection. */
.radio-1col{ max-width:720px; margin:0 auto; }
.radio-player-center{ margin:0 auto; }
.curated-label{
  font-size:12px; font-weight:500; color:var(--gold-2);
  padding:7px 14px; border-radius:20px; background:rgba(201,162,39,.12);
  white-space:nowrap;
}
.player-card-lg{
  padding:40px 32px; text-align:center; position:relative;
}
.player-disc-lg{
  width:200px; height:200px; margin:0 auto 28px; border-radius:50%;
  background:
    radial-gradient(circle at center, rgba(0,0,0,.5) 0%, rgba(0,0,0,.5) 16%, var(--surface) 16.5%, var(--surface) 22%, rgba(0,0,0,.35) 22.5%, rgba(0,0,0,.35) 23%, var(--bg-2) 23.5%),
    repeating-radial-gradient(circle at center, #2a1e04 0, #2a1e04 2px, #3a2b08 2px, #3a2b08 4px);
  box-shadow:
    0 0 0 10px rgba(201,162,39,.08),
    0 30px 60px rgba(6,26,62,.3),
    inset 0 0 40px rgba(0,0,0,.3);
  position:relative;
}
.player-disc-lg.spinning{ animation:spin 10s linear infinite; }
.player-disc-lg::after{
  content:''; position:absolute; inset:38%; border-radius:50%;
  background:linear-gradient(135deg,var(--gold-1),var(--gold-2));
  box-shadow:0 0 0 4px rgba(255,255,255,.1);
}
@keyframes spin{ to{ transform:rotate(360deg); } }
.player-now-title{ font-size:24px; font-family:'Jost'; margin-bottom:4px; }
.player-now-artist{ font-size:13.5px; color:var(--text-soft); margin-bottom:26px; }
.player-eq{ display:flex; gap:5px; align-items:flex-end; height:40px; justify-content:center; margin-bottom:26px; }
.player-eq span{
  width:4px; background:linear-gradient(180deg,var(--gold-1),var(--gold-2)); border-radius:2px;
  animation:bar 1s infinite ease-in-out; animation-play-state:paused;
}
.player-eq.playing span{ animation-play-state:running; }
.player-eq span:nth-child(1){height:35%;animation-delay:0s;}
.player-eq span:nth-child(2){height:90%;animation-delay:.1s;}
.player-eq span:nth-child(3){height:55%;animation-delay:.2s;}
.player-eq span:nth-child(4){height:100%;animation-delay:.3s;}
.player-eq span:nth-child(5){height:65%;animation-delay:.4s;}
@keyframes bar{ 0%,100%{height:25%;} 50%{height:100%;} }
.player-progress-wrap{ margin-bottom:14px; }
.player-progress{
  height:5px; background:var(--border); border-radius:5px; overflow:hidden; cursor:pointer;
  position:relative;
}
.player-progress-fill{
  height:100%; width:0%; background:linear-gradient(90deg,var(--gold-1),var(--gold-2));
  position:relative;
}
.player-progress-fill::after{
  content:''; position:absolute; right:-5px; top:50%; transform:translateY(-50%);
  width:12px; height:12px; border-radius:50%; background:var(--gold-2); box-shadow:0 0 0 3px rgba(201,162,39,.25);
}
/* radio.html's actual player markup: player-disc(-wrap)/player-info/
   player-title/player-artist/progress-fill/progress-handle/play-pause-btn/
   volume-row — same visuals as the .player-disc-lg/.player-now-*/
   .player-progress-fill/.pc-play/.vol-wrap rules above, real class names. */
.player-disc-wrap{ margin:0 auto 28px; width:200px; }
.player-disc{
  width:200px; height:200px; border-radius:50%; background-size:cover; background-position:center;
  box-shadow:0 0 0 10px rgba(201,162,39,.08), 0 30px 60px rgba(6,26,62,.3);
  background-color:var(--bg-2);
}
.player-disc.spinning{ animation:spin 10s linear infinite; }
.player-info{ margin-bottom:10px; }
.player-title{ font-size:24px; font-family:'Jost'; margin-bottom:4px; }
.player-artist{ font-size:13.5px; color:var(--text-soft); }
.player-progress-wrap{ display:flex; align-items:center; gap:10px; }
.prog-time{ font-size:11px; color:var(--text-soft); flex-shrink:0; width:32px; }
.prog-time:last-child{ text-align:right; }
.player-progress{ flex:1; }
.progress-fill{
  height:100%; width:0%; background:linear-gradient(90deg,var(--gold-1),var(--gold-2)); position:relative; border-radius:5px;
}
.progress-handle{
  position:absolute; right:-6px; top:50%; transform:translateY(-50%);
  width:12px; height:12px; border-radius:50%; background:var(--gold-2); box-shadow:0 0 0 3px rgba(201,162,39,.25);
}
.player-controls{ margin-top:18px; margin-bottom:0; }
.play-pause-btn{
  width:72px; height:72px; border-radius:50%; border:none; cursor:pointer;
  background:linear-gradient(135deg,var(--gold-1),var(--gold-2)); color:#231a02; font-size:22px;
  display:flex; align-items:center; justify-content:center; box-shadow:0 14px 30px rgba(201,162,39,.35);
}
.play-pause-btn:hover{ transform:scale(1.05); }
.volume-row{ display:flex; align-items:center; gap:10px; min-width:180px; margin:0 auto; }
.volume-row button{ background:none; border:none; cursor:pointer; font-size:15px; color:var(--text-soft); flex-shrink:0; }
.volume-row input[type="range"]{ flex:1; accent-color:var(--gold-2); }
.player-times{
  display:flex; justify-content:space-between; font-size:11px; color:var(--text-soft); margin-top:6px;
}
.player-controls{
  display:flex; align-items:center; justify-content:center; gap:18px; margin-bottom:26px;
}
.player-controls .pc-skip{
  width:46px; height:46px; border-radius:50%; border:1px solid var(--border); background:var(--bg);
  cursor:pointer; display:flex; align-items:center; justify-content:center; color:var(--text-soft);
  transition:.15s;
}
.player-controls .pc-skip:hover{ border-color:var(--gold-2); color:var(--gold-2); }
.player-controls .pc-skip svg{ width:18px; height:18px; }
.player-controls .pc-play{
  width:72px; height:72px; border-radius:50%; border:none; cursor:pointer;
  background:linear-gradient(135deg,var(--gold-1),var(--gold-2)); color:#231a02;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 30px rgba(201,162,39,.35);
}
.player-controls .pc-play svg{ width:28px; height:28px; }
.player-controls .pc-play:hover{ transform:scale(1.05); }
.player-secondary{
  display:flex; align-items:center; justify-content:center; gap:18px; flex-wrap:wrap;
  padding-top:20px; border-top:1px solid var(--border);
}
.vol-wrap{ display:flex; align-items:center; gap:10px; min-width:180px; }
.vol-wrap svg{ color:var(--text-soft); flex-shrink:0; }
.vol-wrap input[type="range"]{ flex:1; accent-color:var(--gold-2); }
.toggle-btn{
  display:inline-flex; align-items:center; gap:8px; padding:8px 14px; border-radius:20px;
  border:1px solid var(--border); background:var(--bg); cursor:pointer;
  font-family:'Poppins'; font-size:11.5px; color:var(--text-soft); transition:.15s;
}
.toggle-btn.active{ border-color:var(--gold-2); color:var(--gold-2); background:rgba(201,162,39,.08); }
.toggle-btn svg{ width:14px; height:14px; }

.queue-card-lg{
  display:flex; flex-direction:column; gap:16px; padding:26px;
}
.queue-tabs{
  display:flex; gap:4px; background:var(--bg-2); border-radius:22px; padding:3px;
}
.queue-tabs button{
  flex:1; font-family:'Poppins'; font-size:12px; padding:8px 14px; border-radius:20px;
  border:none; background:transparent; color:var(--text-soft); cursor:pointer; transition:.2s;
}
.queue-tabs button.active{ background:var(--surface); color:var(--text); box-shadow:0 2px 8px rgba(0,0,0,.07); font-weight:500; }
.queue-panel{ display:none; max-height:540px; overflow:auto; }
.queue-panel.active{ display:block; animation:fadeIn .3s ease; }
.queue-track{
  display:flex; align-items:center; gap:12px; padding:10px 12px; border-radius:10px;
  cursor:pointer; transition:.15s;
}
.queue-track:hover{ background:var(--bg-2); }
.queue-track.active{ background:rgba(201,162,39,.12); }
.queue-track .q-ord{
  width:28px; text-align:center; font-size:11.5px; color:var(--text-soft); flex-shrink:0;
  font-family:'Jost';
}
.queue-track.active .q-ord{ color:var(--gold-2); font-weight:600; }
.queue-track .q-info{ flex:1; min-width:0; }
.queue-track .q-title{ font-size:12.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.queue-track .q-artist{ font-size:11px; color:var(--text-soft); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-top:2px; }
.queue-track .q-dur{ font-size:11px; color:var(--text-soft); flex-shrink:0; }
.queue-track .q-actions{ display:flex; gap:4px; flex-shrink:0; opacity:0; transition:.15s; }
.queue-track:hover .q-actions{ opacity:1; }
.q-mini-btn{
  width:28px; height:28px; border-radius:6px; border:none; background:var(--bg); cursor:pointer;
  display:flex; align-items:center; justify-content:center; font-size:11px; color:var(--text-soft);
}
.q-mini-btn:hover{ color:var(--gold-2); background:rgba(201,162,39,.12); }

.library-search-box{
  position:relative; margin-bottom:12px;
}
.library-search-box input{
  width:100%; padding:10px 14px 10px 40px; border-radius:var(--radius-sm);
  border:1px solid var(--border); background:var(--bg); font-family:'Poppins'; font-size:12.5px;
  outline:none; color:var(--text); box-sizing:border-box;
}
.library-search-box .ic{
  position:absolute; left:14px; top:50%; transform:translateY(-50%); font-size:13px; color:var(--text-soft);
}
.lib-filter-chips{ display:flex; gap:6px; flex-wrap:wrap; margin-bottom:14px; }
.lib-chips-row-label{ font-size:10.5px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.08em; margin:10px 0 6px; }
.data-table{
  width:100%; border-collapse:separate; border-spacing:0; font-size:11.5px;
}
.data-table thead th{
  text-align:left; padding:10px 12px; background:var(--bg-2); font-weight:500; color:var(--text-soft);
  font-size:10px; text-transform:uppercase; letter-spacing:.06em; border-bottom:1px solid var(--border);
  position:sticky; top:0; z-index:1;
}
.data-table thead th:first-child{ border-radius:6px 0 0 0; }
.data-table thead th:last-child{ border-radius:0 6px 0 0; }
.data-table tbody td{
  padding:10px 12px; border-bottom:1px solid var(--border); vertical-align:middle;
}
.data-table tbody tr:last-child td{ border-bottom:none; }
.data-table tbody tr:hover{ background:var(--bg-2); }
.data-table .btn-cell{ display:flex; gap:4px; }
.data-table .btn-cell .btn-sm{ padding:5px 10px; font-size:10.5px; }

.save-queue-btn{
  display:inline-flex; align-items:center; gap:6px; padding:10px 16px; border-radius:var(--radius-sm);
  border:1px dashed var(--border); background:transparent; color:var(--text-soft);
  font-family:'Poppins'; font-size:11.5px; cursor:pointer; margin-top:8px;
}
.save-queue-btn:hover{ border-color:var(--gold-2); color:var(--gold-2); }

.mini-player{
  position:fixed; bottom:16px; right:16px; z-index:900;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:12px 14px; box-shadow:0 14px 30px rgba(6,26,62,.25);
  display:flex; align-items:center; gap:12px; max-width:360px;
}
.mini-player.hidden{ display:none; }
.mini-player .mp-disc{
  width:44px; height:44px; border-radius:50%; flex-shrink:0;
  background:repeating-radial-gradient(circle at center, #2a1e04 0, #2a1e04 2px, #3a2b08 2px, #3a2b08 4px);
  position:relative; box-shadow:0 0 0 4px rgba(201,162,39,.08);
}
.mini-player .mp-disc.spinning{ animation:spin 6s linear infinite; }
.mini-player .mp-disc::after{
  content:''; position:absolute; inset:38%; border-radius:50%; background:linear-gradient(135deg,var(--gold-1),var(--gold-2));
}
.mini-player .mp-info{ flex:1; min-width:0; }
.mini-player .mp-title{ font-size:12px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mini-player .mp-artist{ font-size:10.5px; color:var(--text-soft); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mini-player .mp-play{
  width:36px; height:36px; border-radius:50%; border:none; cursor:pointer; flex-shrink:0;
  background:linear-gradient(135deg,var(--gold-1),var(--gold-2)); color:#231a02;
  display:flex; align-items:center; justify-content:center;
}
.mini-player .mp-play svg{ width:14px; height:14px; }
.mini-player .mp-close{
  width:24px; height:24px; border-radius:50%; border:none; background:var(--bg-2); cursor:pointer;
  color:var(--text-soft); font-size:12px; display:flex; align-items:center; justify-content:center;
}
/* radio.html's actual mini-player markup uses mini-cover/mini-info/mini-title/
   mini-artist/mini-controls/mini-ctrl/mini-close — same visuals as .mp-* above. */
.mini-cover{
  width:44px; height:44px; border-radius:50%; flex-shrink:0; background-size:cover; background-position:center;
  background-color:var(--bg-2); box-shadow:0 0 0 4px rgba(201,162,39,.08);
}
.mini-info{ flex:1; min-width:0; }
.mini-title{ font-size:12px; font-weight:500; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mini-artist{ font-size:10.5px; color:var(--text-soft); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mini-controls{ display:flex; align-items:center; flex-shrink:0; }
.mini-ctrl{
  width:36px; height:36px; border-radius:50%; border:none; cursor:pointer;
  background:linear-gradient(135deg,var(--gold-1),var(--gold-2)); color:#231a02; font-size:13px;
  display:flex; align-items:center; justify-content:center;
}
.mini-close{
  width:24px; height:24px; border-radius:50%; border:none; background:var(--bg-2); cursor:pointer;
  color:var(--text-soft); font-size:12px; display:flex; align-items:center; justify-content:center;
  flex-shrink:0; margin-left:4px;
}

@media(max-width:880px){
  .radio-2col{ grid-template-columns:1fr; }
  .queue-panel{ max-height:380px; }
  .player-card-lg{ padding:30px 24px; }
  .player-disc-lg{ width:160px; height:160px; }
  .radio-toolbar{ flex-direction:column; align-items:stretch; }
  .now-on-air{ flex-direction:column; align-items:flex-start; gap:4px; }
}
@media(max-width:520px){
  .player-card-lg{ padding:26px 18px; }
  .player-disc-lg{ width:130px; height:130px; }
  .player-now-title{ font-size:19px; }
  .player-controls{ gap:12px; }
  .player-controls .pc-play{ width:60px; height:60px; }
}

/* ============================================================
   CORRECTIONS: user-login.html + user-dashboard.html
   (class names used by the actual HTML templates)
   ============================================================ */

/* ----- Tab panel visibility (data-tabs system from main.js) -----
   The generic tab-switcher toggles .active on [data-tab-panel]
   divs across ALL site pages (seva seva-tabs, events page-tabs,
   live live-tabs, auth login/register, dashboard overview tabs).
   This base rule hides INACTIVE panels; the .active modifier rule
   reveals the currently selected one (higher specificity wins). */
[data-tab-panel]{ display:none; }
[data-tab-panel].active{ display:block; animation:fadeIn .3s ease; }

/* ----- user-login.html auth card ----- */
.auth-wrap .label-row{ display:flex; align-items:center; justify-content:space-between; margin-bottom:4px; }
.auth-wrap .center{ text-align:center; }
.form-note.center{ text-align:center; }

/* ----- user-dashboard.html shell + sidebar ----- */
.dash-side-nav{
  display:flex; flex-direction:column; gap:4px; margin-bottom:14px;
}
.dash-side-nav button{
  display:flex; align-items:center; gap:10px; padding:11px 14px; border-radius:10px;
  border:none; background:transparent; color:var(--text-soft); text-align:left;
  font-family:'Poppins'; font-size:12.5px; cursor:pointer; transition:.15s;
  width:100%;
}
.dash-side-nav button:hover{ background:var(--bg-2); color:var(--text); }
.dash-side-nav button.active{ background:rgba(201,162,39,.14); color:#8C6E15; font-weight:500; }
.dash-ic{
  width:28px; height:28px; border-radius:6px; background:var(--bg-2);
  display:flex; align-items:center; justify-content:center; font-size:13px; flex-shrink:0;
}
.dash-side-nav button.active .dash-ic{ background:var(--gold-2); color:#231a02; }
.dash-side-foot{ padding-top:10px; border-top:1px solid var(--border); }

/* ----- Dashboard overview sections ----- */
.stat-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:26px;
}
.stat-card{ padding:22px; position:relative; overflow:hidden; }
.stat-card::before{
  content:''; position:absolute; top:-30px; right:-30px; width:90px; height:90px;
  border-radius:50%; background:rgba(201,162,39,.08);
}
.stat-card .stat-label{
  font-size:11.5px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.08em; margin-bottom:8px;
}
.stat-card .stat-value{ font-family:'Jost'; font-size:30px; font-weight:600; }
.stat-card .stat-trend{ font-size:11.5px; color:var(--text-soft); margin-top:6px; }
.stat-card .stat-trend.up{ color:#2f9e68; font-weight:500; }

.dash-2col{
  display:grid; grid-template-columns:1.3fr 1fr; gap:20px; margin-bottom:26px;
}
.dash-section-head{
  display:flex; align-items:center; justify-content:space-between; margin-bottom:16px;
  padding-bottom:12px; border-bottom:1px solid var(--border);
}
.dash-section-head h3{ font-size:15px; margin:0; }
.dash-seeall{ font-size:12px; }

/* ----- Upcoming Appointments list (overview tab) ----- */
.upcoming-list{ display:flex; flex-direction:column; gap:10px; }
.upcoming-row{
  display:flex; align-items:center; gap:14px; padding:14px;
  border-radius:10px; background:var(--bg-2);
}
.up-date-block{
  width:60px; height:60px; flex-shrink:0;
  border-radius:10px; background:linear-gradient(135deg,var(--gold-1),var(--gold-2));
  color:#231a02; display:flex; flex-direction:column; align-items:center; justify-content:center;
  font-family:'Jost'; line-height:1;
}
.up-date-block .d-mo{ font-size:9.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; margin-bottom:3px; }
.up-date-block .d-day{ font-size:20px; font-weight:700; }
.up-date-block .d-yr{ font-size:9px; font-weight:500; margin-top:3px; opacity:.75; }
.up-body{ flex:1; min-width:0; }
.up-title{ font-size:13px; font-weight:500; margin-bottom:2px; }
.up-sub{ font-size:11.5px; color:var(--text-soft); }
.up-actions{ flex-shrink:0; }

/* ----- Receipt rows (overview + receipts tab) ----- */
.receipt-list{ display:flex; flex-direction:column; gap:8px; }
.receipt-row{
  display:grid; grid-template-columns:110px 1fr 90px 90px;
  align-items:center; gap:12px; padding:12px 14px;
  border-radius:10px; border:1px solid var(--border);
}
.r-ref{ font-family:'Jost'; font-weight:600; font-size:13px; }
.r-desc{ min-width:0; }
.r-title{ font-size:12.5px; font-weight:500; }
.r-sub{ font-size:11px; color:var(--text-soft); margin-top:2px; }
.r-amt{ font-family:'Jost'; font-weight:600; font-size:14px; text-align:right; }
.r-act{ text-align:right; }

/* ----- Quick Actions ----- */
.quick-actions{ display:grid; grid-template-columns:1fr; gap:10px; }

/* ----- Badges used across dashboard tables ----- */
.badge-confirmed{ background:rgba(47,158,104,.14); color:#2f9e68; }
.badge-upcoming{ background:rgba(201,162,39,.14); color:var(--gold-2); }
.badge-completed{ background:var(--bg-2); color:var(--text-soft); }

/* ----- Donut chart (donations tab - inline JS background) ----- */
.donut-chart{
  width:200px; height:200px; border-radius:50%; position:relative;
}
.donut-hole{
  position:absolute; inset:22%;
  border-radius:50%; background:var(--surface);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
}
.donut-total{ font-family:'Jost'; font-size:22px; font-weight:600; }
.donut-label{ font-size:10.5px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.08em; }
.donut-legend{ display:flex; flex-direction:column; gap:8px; width:100%; padding:6px 4px; }
.donut-legend-row{
  display:grid; grid-template-columns:14px 1fr auto; align-items:center; gap:10px;
}
.donut-swatch{ width:12px; height:12px; border-radius:50%; }
.donut-lname{ font-size:12.5px; }
.donut-lval{ font-family:'Jost'; font-weight:600; font-size:13px; }

/* ----- Page tables (bookings/donations/receipts/volunteer) ----- */
.page-table-wrap{
  overflow-x:auto;
  border-radius:12px;
  border:1px solid var(--border);
}
.page-table-wrap .page-table{ border-radius:0; border:none; }
.row-actions{ display:flex; gap:6px; justify-content:flex-end; flex-wrap:wrap; }

.quick-actions-card .dash-section-head{ margin-bottom:18px; }

/* ----- Responsive fixes for dashboard (880 / 520 breakpoints) ----- */
@media(max-width:880px){
  .stat-grid{ grid-template-columns:repeat(2,1fr); }
  .dash-2col{ grid-template-columns:1fr; }
  .receipt-row{ grid-template-columns:90px 1fr 80px; }
  .receipt-row .r-act{ grid-column:1 / -1; text-align:left; padding-top:6px; border-top:1px dashed var(--border); }
}
@media(max-width:520px){
  .stat-grid{ grid-template-columns:1fr; }
  .donut-chart{ width:170px; height:170px; }
  .upcoming-row{ flex-wrap:wrap; }
  .up-actions{ width:100%; }
}

/* ============================================================
   FRONTEND PUBLIC PAGES: seva / events / live — missing rules
   (added without restructuring; DOM/class names preserved)
   ============================================================ */

/* Live page — live-embed alias (pages.css defines live-embed-wrap;
   live.html uses class="live-embed" directly) */
.live-embed{ position:relative; aspect-ratio:16/9; border-radius:var(--radius-lg); overflow:hidden; box-shadow:0 20px 50px rgba(6,26,62,.2); }
.live-embed iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }

/* Live page cards */
.live-video-card, .live-details-card{
  background:var(--surface); border-radius:var(--radius-md);
  border:1px solid var(--border); padding:20px;
}
.live-detail-row{
  display:flex; justify-content:space-between; align-items:center; gap:12px;
  padding:12px 0; border-bottom:1px solid var(--border); flex-wrap:wrap;
}
.live-detail-row:last-of-type{ border-bottom:none; }
.live-detail-row .k{ font-size:12px; color:var(--text-soft); }
.live-detail-row .v{ font-family:'Jost'; font-size:14.5px; text-align:right; }
.live-now-grid{ display:grid; grid-template-columns:1.6fr 1fr; gap:22px; align-items:start; margin-bottom:30px; }
@media(max-width:880px){ .live-now-grid{ grid-template-columns:1fr; } }

/* Event date block (d-mo / d-day classes — used on events.html
   and live.html upcoming events, separate from .event-card .ec-date) */
.event-date-block{
  width:68px; height:68px; flex-shrink:0; border-radius:var(--radius-sm);
  background:linear-gradient(135deg,var(--gold-1),var(--gold-2));
  color:#231a02; display:flex; flex-direction:column; align-items:center; justify-content:center;
  font-family:'Jost'; line-height:1; box-shadow:0 4px 12px rgba(201,162,39,.18);
}
.event-date-block .d-mo{ font-size:9.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; margin-bottom:3px; }
.event-date-block .d-day{ font-size:22px; font-weight:700; }

/* Seva wizard step buttons */
.ws-step{
  display:inline-flex; align-items:center; gap:8px; padding:8px 16px;
  border-radius:24px; border:1px solid var(--border); background:var(--bg-2);
  font-size:12px; color:var(--text-soft); cursor:pointer; transition:.2s;
  font-family:'Poppins';
}
.ws-step:hover{ border-color:var(--gold-2); }
.ws-step.active{ background:rgba(201,162,39,.15); color:#8C6E15; border-color:rgba(201,162,39,.3); font-weight:500; }
.ws-step .ws-num{
  width:22px; height:22px; border-radius:50%;
  background:rgba(0,0,0,.06); display:flex; align-items:center; justify-content:center;
  font-size:11px; font-weight:600; font-family:'Jost';
}
.ws-step.active .ws-num{ background:var(--gold-2); color:#231a02; }

/* Calendar grid day availability dot */
.day-dot{
  display:inline-block; width:8px; height:8px; border-radius:50%;
  background:#2f9e68; margin-right:6px;
}
.day-dot.limited{ background:var(--gold-2); }
.day-dot.full{ background:#c24a4a; }

/* Seva volunteer: family name field */
.fam-name{ display:flex; gap:10px; }

/* Events programs / prog-card (alternative event cards used
   in programs listing tab alongside event-card) */
.prog-card{
  background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-md); overflow:hidden; transition:.25s;
  display:flex; flex-direction:column;
}
.prog-card:hover{ transform:translateY(-2px); box-shadow:0 14px 30px rgba(6,26,62,.08); }
.prog-card .prog-date{
  padding:14px 18px; background:linear-gradient(135deg,var(--gold-1),var(--gold-2));
  color:#231a02;
}
.prog-card .prog-date .prog-day{
  font-family:'Jost'; font-size:24px; font-weight:700; line-height:1;
}
.prog-card .prog-date .prog-meta{ font-size:10.5px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; margin-top:4px; opacity:.85; }
.prog-card .prog-body{ padding:16px 18px; flex:1; display:flex; flex-direction:column; gap:8px; }
.prog-card .prog-title{ font-size:13.5px; font-weight:500; line-height:1.4; }
.prog-card .prog-time{ font-size:11.5px; color:var(--text-soft); display:flex; align-items:center; gap:6px; }

/* Live archive grid and cards */
.archive-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:26px;
}
@media(max-width:880px){ .archive-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:520px){ .archive-grid{ grid-template-columns:1fr; } }
.archive-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md);
  overflow:hidden; transition:.25s; cursor:pointer;
}
.archive-card:hover{ transform:translateY(-2px); box-shadow:0 14px 30px rgba(6,26,62,.08); }
.archive-card .arc-thumb{
  aspect-ratio:16/9; background-size:cover; background-position:center; position:relative;
}
.archive-card .arc-play{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  background:rgba(4,12,30,.35); color:#fff; font-size:28px; opacity:0; transition:.25s;
}
.archive-card:hover .arc-play{ opacity:1; }
.archive-card .arc-body{ padding:14px 16px; }
.archive-card .arc-title{ font-size:13px; font-weight:500; line-height:1.4; margin-bottom:6px; }
.archive-card .arc-duration{ font-size:11px; color:var(--text-soft); }
.archive-card .arc-meta{ font-size:11.5px; color:var(--text-soft); }
.arc-share{ margin-top:4px; }

/* Jatha card extensions */
.jatha-grid{ align-items:stretch; }
.jatha-card{ display:flex; flex-direction:column; gap:12px; height:100%; }
.jatha-photo{
  width:80px; height:80px; border-radius:50%; margin:0 auto 4px;
  background-size:cover; background-position:center;
  border:3px solid rgba(201,162,39,.3);
}
.jatha-clips{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-top:4px; }
.jatha-body{ display:flex; flex-direction:column; flex:1; }
.jatha-body p{ font-size:12.5px; color:var(--text-soft); line-height:1.6; margin:6px 0 4px; }
.jatha-more-btn{ margin-top:auto; }

/* Chip styles: artist-chip already defined; clip-chip for small
   video/audio tag pills used across live and archive */
.clip-chip{
  display:inline-flex; align-items:center; gap:6px; padding:5px 12px;
  border-radius:16px; background:var(--bg-2); font-size:11px; color:var(--text-soft);
  border:1px solid var(--border);
}
.clip-chip .c-dur{ font-family:'Jost'; font-weight:600; color:var(--text); }
.artist-chip{ align-items:center; }
.artist-chip .artist-thumb{
  width:36px; height:36px; border-radius:50%; background-size:cover; background-position:center; flex-shrink:0;
  border:2px solid rgba(201,162,39,.25);
}
