/**
 * theme-palette.css - Multi-Color Theme System for Khatib Jum'at & Website Masjid
 * Supported Themes:
 *  1. Hijau (Default - Royal Emerald & Forest Green)
 *  2. Biru (Royal Sapphire & Oceanic Blue)
 *  3. Putih (Modern Minimalist Luxury / Slate Charcoal & Silver)
 *  4. Gold (Imperial Amber & Royal Gold)
 *  5. Orange (Terracotta & Desert Warmth)
 */

/* ==========================================================================
   1. DEFAULT THEME: HIJAU (Emerald & Forest Green)
   ========================================================================== */
html[data-theme-color="hijau"],
body[data-theme-color="hijau"] {
    --theme-color-name: "hijau";
    --theme-primary: #046342;
    --theme-primary-dark: #004d3a;
    --theme-primary-darker: #061a12;
    --theme-primary-light: #008a68;
    --theme-primary-surface: rgba(0, 112, 84, 0.95);
    --theme-primary-soft: #ecfdf5;
    --theme-primary-border: #a7f3d0;
    --theme-accent: #c6ea56;
    --theme-accent-hover: #b5db44;

    /* Override Framework Tokens */
    --qa-forest-dark: #004d3a;
    --qa-forest: #007054;
    --qa-forest-light: #008a68;
    --qa-forest-surface: rgba(0, 112, 84, 0.95);
    --qa-lime: #c6ea56;
    --qa-lime-hover: #b5db44;
    --brand-emerald: #007054;
    --primary-emerald: #064e3b;
    --primary-dark: #022c22;
    --primary-light: #059669;
    --primary-accent: #10b981;
    --qa-primary: #046342;
    --qa-primary-dark: #004d3a;
    --qa-accent: #f1c84e;

    /* Istiqlal Specific */
    --istiqlal-forest: #061a12;
    --istiqlal-green-dark: #03402a;
    --istiqlal-green-primary: #046342;
    --istiqlal-green-medium: #047857;
    --istiqlal-green-light: #04a476;
    --istiqlal-green-gradient: linear-gradient(135deg, #03402a 0%, #04a476 100%);
}

/* ==========================================================================
   2. THEME: BIRU (Royal Sapphire & Oceanic Blue)
   ========================================================================== */
html[data-theme-color="biru"],
body[data-theme-color="biru"] {
    --theme-color-name: "biru";
    --theme-primary: #0284c7;
    --theme-primary-dark: #0c4a6e;
    --theme-primary-darker: #082f49;
    --theme-primary-light: #38bdf8;
    --theme-primary-surface: rgba(2, 132, 199, 0.95);
    --theme-primary-soft: #f0f9ff;
    --theme-primary-border: #bae6fd;
    --theme-accent: #38bdf8;
    --theme-accent-hover: #0284c7;

    /* Override Framework Tokens */
    --qa-forest-dark: #0c4a6e;
    --qa-forest: #0284c7;
    --qa-forest-light: #38bdf8;
    --qa-forest-surface: rgba(2, 132, 199, 0.95);
    --qa-lime: #38bdf8;
    --qa-lime-hover: #7dd3fc;
    --brand-emerald: #0284c7;
    --primary-emerald: #0369a1;
    --primary-dark: #082f49;
    --primary-light: #0ea5e9;
    --primary-accent: #38bdf8;
    --qa-primary: #0284c7;
    --qa-primary-dark: #0c4a6e;
    --qa-accent: #f59e0b;

    /* Istiqlal Specific */
    --istiqlal-forest: #082f49;
    --istiqlal-green-dark: #0c4a6e;
    --istiqlal-green-primary: #0284c7;
    --istiqlal-green-medium: #0369a1;
    --istiqlal-green-light: #38bdf8;
    --istiqlal-green-gradient: linear-gradient(135deg, #082f49 0%, #0284c7 100%);
}

html[data-theme-color="biru"] .qa-nav-capsule,
body[data-theme-color="biru"] .qa-nav-capsule {
    background: linear-gradient(135deg, rgba(8, 47, 73, 0.88) 0%, rgba(3, 35, 60, 0.94) 100%) !important;
}

html[data-theme-color="biru"] .qa-hero-gradient-overlay,
body[data-theme-color="biru"] .qa-hero-gradient-overlay {
    background: linear-gradient(90deg, rgba(8, 47, 73, 0.96) 0%, rgba(8, 47, 73, 0.90) 35%, rgba(8, 47, 73, 0.72) 65%, rgba(8, 47, 73, 0.35) 100%) !important;
}

html[data-theme-color="biru"] .hero-kegiatan-section,
body[data-theme-color="biru"] .hero-kegiatan-section,
html[data-theme-color="biru"] .donasi-hero-section,
body[data-theme-color="biru"] .donasi-hero-section,
html[data-theme-color="biru"] .gallery-hero,
body[data-theme-color="biru"] .gallery-hero,
html[data-theme-color="biru"] .archive-hero,
body[data-theme-color="biru"] .archive-hero,
html[data-theme-color="biru"] .hero-luxury,
body[data-theme-color="biru"] .hero-luxury {
    background: linear-gradient(135deg, #082f49 0%, #0369a1 55%, #0284c7 100%) !important;
}

html[data-theme-color="biru"] .qa-footer,
body[data-theme-color="biru"] .qa-footer {
    background: linear-gradient(180deg, #082f49 0%, #051a29 100%) !important;
}

/* --- Biru: Section 1: Profil / Visi Misi Mastercard --- */
html[data-theme-color="biru"] .qa-master-identity-card,
body[data-theme-color="biru"] .qa-master-identity-card {
    background: linear-gradient(145deg, #0369a1 0%, #082f49 100%) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 20px 48px rgba(8, 47, 73, 0.38) !important;
}
html[data-theme-color="biru"] .qa-master-identity-card:hover,
body[data-theme-color="biru"] .qa-master-identity-card:hover {
    box-shadow: 0 24px 54px rgba(8, 47, 73, 0.52) !important;
    border-color: rgba(56, 189, 248, 0.65) !important;
}
html[data-theme-color="biru"].night-mode .qa-master-identity-card,
html[data-theme-color="biru"][data-bs-theme="dark"] .qa-master-identity-card,
body[data-theme-color="biru"].night-mode .qa-master-identity-card,
body[data-theme-color="biru"][data-bs-theme="dark"] .qa-master-identity-card,
.night-mode[data-theme-color="biru"] .qa-master-identity-card,
[data-bs-theme="dark"][data-theme-color="biru"] .qa-master-identity-card {
    background: linear-gradient(145deg, #082f49 0%, #031c2e 100%) !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55) !important;
    border-color: rgba(56, 189, 248, 0.45) !important;
}

/* --- Biru: Section 2: Waktu Sholat & Hitung Mundur --- */
html[data-theme-color="biru"] .prayer-emerald-card,
body[data-theme-color="biru"] .prayer-emerald-card {
    background: radial-gradient(circle at 50% 12%, #0284c7 0%, #0c4a6e 55%, #082f49 100%) !important;
    border-color: rgba(56, 189, 248, 0.38) !important;
    box-shadow: 0 20px 48px rgba(8, 47, 73, 0.42) !important;
}
html[data-theme-color="biru"] .prayer-emerald-card:hover,
body[data-theme-color="biru"] .prayer-emerald-card:hover {
    box-shadow: 0 24px 54px rgba(8, 47, 73, 0.55) !important;
    border-color: rgba(56, 189, 248, 0.6) !important;
}
html[data-theme-color="biru"] .prayer-countdown-capsule,
body[data-theme-color="biru"] .prayer-countdown-capsule {
    background: rgba(3, 28, 46, 0.65) !important;
    border-color: rgba(56, 189, 248, 0.28) !important;
}
html[data-theme-color="biru"] .prayer-countdown-label,
body[data-theme-color="biru"] .prayer-countdown-label {
    color: #38bdf8 !important;
}
html[data-theme-color="biru"] .prayer-fardhu-card,
body[data-theme-color="biru"] .prayer-fardhu-card {
    background: rgba(8, 47, 73, 0.55) !important;
    border-color: rgba(56, 189, 248, 0.2) !important;
}
html[data-theme-color="biru"] .prayer-fardhu-card:hover,
body[data-theme-color="biru"] .prayer-fardhu-card:hover {
    background: rgba(12, 74, 110, 0.75) !important;
    border-color: rgba(56, 189, 248, 0.5) !important;
}
html[data-theme-color="biru"] .prayer-fardhu-card.active,
body[data-theme-color="biru"] .prayer-fardhu-card.active {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 50%, #0369a1 100%) !important;
    border: 1.8px solid #bae6fd !important;
    box-shadow: 0 0 32px rgba(56, 189, 248, 0.65), 0 14px 28px rgba(0, 0, 0, 0.35) !important;
}
html[data-theme-color="biru"].night-mode .prayer-emerald-card,
html[data-theme-color="biru"][data-bs-theme="dark"] .prayer-emerald-card,
body[data-theme-color="biru"].night-mode .prayer-emerald-card,
body[data-theme-color="biru"][data-bs-theme="dark"] .prayer-emerald-card,
.night-mode[data-theme-color="biru"] .prayer-emerald-card,
[data-bs-theme="dark"][data-theme-color="biru"] .prayer-emerald-card {
    background: radial-gradient(circle at 50% 12%, #073859 0%, #082f49 55%, #031726 100%) !important;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.75) !important;
}
html[data-theme-color="biru"].night-mode .prayer-fardhu-card,
html[data-theme-color="biru"][data-bs-theme="dark"] .prayer-fardhu-card,
body[data-theme-color="biru"].night-mode .prayer-fardhu-card,
body[data-theme-color="biru"][data-bs-theme="dark"] .prayer-fardhu-card,
.night-mode[data-theme-color="biru"] .prayer-fardhu-card,
[data-bs-theme="dark"][data-theme-color="biru"] .prayer-fardhu-card {
    background: rgba(8, 47, 73, 0.65) !important;
    border-color: rgba(56, 189, 248, 0.22) !important;
}
html[data-theme-color="biru"] .prayer-dome-svg g,
body[data-theme-color="biru"] .prayer-dome-svg g {
    stroke: #38bdf8 !important;
}

/* --- Biru: Section 3: Kas & Keuangan Masjid --- */
html[data-theme-color="biru"] .qa-unified-head,
body[data-theme-color="biru"] .qa-unified-head {
    background: linear-gradient(145deg, #0c4a6e 0%, #082f49 55%, #041d30 100%) !important;
    border-bottom: 1px solid rgba(56, 189, 248, 0.2) !important;
}
html[data-theme-color="biru"] .qa-unified-head::before,
body[data-theme-color="biru"] .qa-unified-head::before {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.24) 0%, transparent 70%) !important;
}
html[data-theme-color="biru"] .qa-unified-head::after,
body[data-theme-color="biru"] .qa-unified-head::after {
    background: radial-gradient(circle, rgba(2, 132, 199, 0.28) 0%, transparent 70%) !important;
}
html[data-theme-color="biru"] .qa-eq-card.card-hero,
body[data-theme-color="biru"] .qa-eq-card.card-hero {
    background: linear-gradient(135deg, #082f49 0%, #0284c7 100%) !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 4px 14px rgba(8, 47, 73, 0.25) !important;
}
html[data-theme-color="biru"] .qa-eq-card.card-hero:hover,
body[data-theme-color="biru"] .qa-eq-card.card-hero:hover {
    box-shadow: 0 8px 24px rgba(8, 47, 73, 0.38) !important;
}
html[data-theme-color="biru"] .qa-eq-icon.hero,
body[data-theme-color="biru"] .qa-eq-icon.hero {
    background: rgba(56, 189, 248, 0.2) !important;
    color: #38bdf8 !important;
}

/* --- Biru: Section 4: Berita & Artikel Cards --- */
html[data-theme-color="biru"] .istiqlal-card,
body[data-theme-color="biru"] .istiqlal-card {
    background-color: #041d30 !important;
}
html[data-theme-color="biru"] .istiqlal-card-overlay,
body[data-theme-color="biru"] .istiqlal-card-overlay {
    background: linear-gradient(180deg, rgba(8, 47, 73, 0.05) 0%, rgba(8, 47, 73, 0.35) 40%, rgba(8, 47, 73, 0.88) 75%, rgba(4, 29, 48, 0.98) 100%) !important;
}
html[data-theme-color="biru"] .istiqlal-card:hover .istiqlal-card-overlay,
body[data-theme-color="biru"] .istiqlal-card:hover .istiqlal-card-overlay {
    background: linear-gradient(180deg, rgba(8, 47, 73, 0.05) 0%, rgba(8, 47, 73, 0.3) 35%, rgba(8, 47, 73, 0.92) 70%, rgba(4, 29, 48, 1) 100%) !important;
}
html[data-theme-color="biru"] .artikel-tagline-badge,
body[data-theme-color="biru"] .artikel-tagline-badge {
    background: rgba(2, 132, 199, 0.1) !important;
    color: #0284c7 !important;
    border-color: rgba(2, 132, 199, 0.3) !important;
}
html[data-theme-color="biru"] .btn-slider-circle:hover,
body[data-theme-color="biru"] .btn-slider-circle:hover {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
}
html[data-theme-color="biru"] .btn-view-all-pill:hover,
body[data-theme-color="biru"] .btn-view-all-pill:hover {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35) !important;
}

/* --- Biru: Section 5: Galeri Dokumentasi Card / Slider / Lightbox --- */
html[data-theme-color="biru"] .gallery-lightbox-modal-content,
body[data-theme-color="biru"] .gallery-lightbox-modal-content {
    background: #082f49 !important;
    border-color: rgba(56, 189, 248, 0.28) !important;
}
html[data-theme-color="biru"] .gallery-lightbox-caption-bar,
body[data-theme-color="biru"] .gallery-lightbox-caption-bar {
    background: linear-gradient(180deg, #0c4a6e 0%, #041d30 100%) !important;
}
html[data-theme-color="biru"] .modal-gallery-nav-btn:hover,
body[data-theme-color="biru"] .modal-gallery-nav-btn:hover {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
}
html[data-theme-color="biru"] .gallery-card-badge,
body[data-theme-color="biru"] .gallery-card-badge {
    color: #38bdf8 !important;
}
html[data-theme-color="biru"] .gallery-card-caption,
body[data-theme-color="biru"] .gallery-card-caption {
    border-left-color: #0284c7 !important;
}
html[data-theme-color="biru"] .gallery-slide-card:hover,
body[data-theme-color="biru"] .gallery-slide-card:hover {
    border-color: rgba(2, 132, 199, 0.4) !important;
    box-shadow: 0 20px 35px -6px rgba(8, 47, 73, 0.2), 0 8px 16px -4px rgba(15, 23, 42, 0.04) !important;
}
html[data-theme-color="biru"] .gallery-slide-card:hover .gallery-card-zoom-icon,
body[data-theme-color="biru"] .gallery-slide-card:hover .gallery-card-zoom-icon {
    background: #0284c7 !important;
    color: #ffffff !important;
}
html[data-theme-color="biru"] .gallery-nav-btn,
body[data-theme-color="biru"] .gallery-nav-btn {
    color: #0284c7 !important;
}
html[data-theme-color="biru"] .gallery-nav-btn:hover,
body[data-theme-color="biru"] .gallery-nav-btn:hover {
    color: #38bdf8 !important;
}
html[data-theme-color="biru"] .btn-gallery-album-pill,
body[data-theme-color="biru"] .btn-gallery-album-pill {
    border-color: #0284c7 !important;
    color: #0284c7 !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.18) !important;
}
html[data-theme-color="biru"] .btn-gallery-album-pill:hover,
body[data-theme-color="biru"] .btn-gallery-album-pill:hover {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   3. THEME: PUTIH (Modern Minimalist Luxury / Slate Charcoal & Silver)
   ========================================================================== */
html[data-theme-color="putih"],
body[data-theme-color="putih"] {
    --theme-color-name: "putih";
    --theme-primary: #334155;
    --theme-primary-dark: #0f172a;
    --theme-primary-darker: #020617;
    --theme-primary-light: #64748b;
    --theme-primary-surface: rgba(30, 41, 59, 0.95);
    --theme-primary-soft: #f8fafc;
    --theme-primary-border: #cbd5e1;
    --theme-accent: #94a3b8;
    --theme-accent-hover: #cbd5e1;

    /* Override Framework Tokens */
    --qa-forest-dark: #0f172a;
    --qa-forest: #334155;
    --qa-forest-light: #64748b;
    --qa-forest-surface: rgba(30, 41, 59, 0.95);
    --qa-lime: #94a3b8;
    --qa-lime-hover: #cbd5e1;
    --brand-emerald: #334155;
    --primary-emerald: #1e293b;
    --primary-dark: #0f172a;
    --primary-light: #475569;
    --primary-accent: #64748b;
    --qa-primary: #334155;
    --qa-primary-dark: #0f172a;
    --qa-accent: #d97706;

    /* Istiqlal Specific */
    --istiqlal-forest: #020617;
    --istiqlal-green-dark: #0f172a;
    --istiqlal-green-primary: #334155;
    --istiqlal-green-medium: #1e293b;
    --istiqlal-green-light: #64748b;
    --istiqlal-green-gradient: linear-gradient(135deg, #0f172a 0%, #475569 100%);
}

html[data-theme-color="putih"] .qa-nav-capsule,
body[data-theme-color="putih"] .qa-nav-capsule {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.90) 0%, rgba(2, 6, 23, 0.95) 100%) !important;
}

html[data-theme-color="putih"] .qa-hero-gradient-overlay,
body[data-theme-color="putih"] .qa-hero-gradient-overlay {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.90) 35%, rgba(15, 23, 42, 0.72) 65%, rgba(15, 23, 42, 0.35) 100%) !important;
}

html[data-theme-color="putih"] .hero-kegiatan-section,
body[data-theme-color="putih"] .hero-kegiatan-section,
html[data-theme-color="putih"] .donasi-hero-section,
body[data-theme-color="putih"] .donasi-hero-section,
html[data-theme-color="putih"] .gallery-hero,
body[data-theme-color="putih"] .gallery-hero,
html[data-theme-color="putih"] .archive-hero,
body[data-theme-color="putih"] .archive-hero,
html[data-theme-color="putih"] .hero-luxury,
body[data-theme-color="putih"] .hero-luxury {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #334155 100%) !important;
}

html[data-theme-color="putih"] .qa-footer,
body[data-theme-color="putih"] .qa-footer {
    background: linear-gradient(180deg, #0f172a 0%, #020617 100%) !important;
}

/* --- Putih: Section 1: Profil / Visi Misi Mastercard --- */
html[data-theme-color="putih"] .qa-master-identity-card,
body[data-theme-color="putih"] .qa-master-identity-card {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%) !important;
    border-color: rgba(148, 163, 184, 0.4) !important;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.38) !important;
}
html[data-theme-color="putih"] .qa-master-identity-card:hover,
body[data-theme-color="putih"] .qa-master-identity-card:hover {
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.52) !important;
    border-color: rgba(203, 213, 225, 0.65) !important;
}
html[data-theme-color="putih"].night-mode .qa-master-identity-card,
html[data-theme-color="putih"][data-bs-theme="dark"] .qa-master-identity-card,
body[data-theme-color="putih"].night-mode .qa-master-identity-card,
body[data-theme-color="putih"][data-bs-theme="dark"] .qa-master-identity-card,
.night-mode[data-theme-color="putih"] .qa-master-identity-card,
[data-bs-theme="dark"][data-theme-color="putih"] .qa-master-identity-card {
    background: linear-gradient(145deg, #0f172a 0%, #020617 100%) !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55) !important;
    border-color: rgba(148, 163, 184, 0.45) !important;
}

/* --- Putih: Section 2: Waktu Sholat & Hitung Mundur --- */
html[data-theme-color="putih"] .prayer-emerald-card,
body[data-theme-color="putih"] .prayer-emerald-card {
    background: radial-gradient(circle at 50% 12%, #334155 0%, #1e293b 55%, #0f172a 100%) !important;
    border-color: rgba(148, 163, 184, 0.38) !important;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.42) !important;
}
html[data-theme-color="putih"] .prayer-emerald-card:hover,
body[data-theme-color="putih"] .prayer-emerald-card:hover {
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.55) !important;
    border-color: rgba(203, 213, 225, 0.6) !important;
}
html[data-theme-color="putih"] .prayer-countdown-capsule,
body[data-theme-color="putih"] .prayer-countdown-capsule {
    background: rgba(2, 6, 23, 0.7) !important;
    border-color: rgba(148, 163, 184, 0.28) !important;
}
html[data-theme-color="putih"] .prayer-countdown-label,
body[data-theme-color="putih"] .prayer-countdown-label {
    color: #94a3b8 !important;
}
html[data-theme-color="putih"] .prayer-fardhu-card,
body[data-theme-color="putih"] .prayer-fardhu-card {
    background: rgba(15, 23, 42, 0.6) !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
}
html[data-theme-color="putih"] .prayer-fardhu-card:hover,
body[data-theme-color="putih"] .prayer-fardhu-card:hover {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(203, 213, 225, 0.5) !important;
}
html[data-theme-color="putih"] .prayer-fardhu-card.active,
body[data-theme-color="putih"] .prayer-fardhu-card.active {
    background: linear-gradient(135deg, #475569 0%, #64748b 50%, #334155 100%) !important;
    border: 1.8px solid #cbd5e1 !important;
    box-shadow: 0 0 32px rgba(148, 163, 184, 0.55), 0 14px 28px rgba(0, 0, 0, 0.4) !important;
}
html[data-theme-color="putih"].night-mode .prayer-emerald-card,
html[data-theme-color="putih"][data-bs-theme="dark"] .prayer-emerald-card,
body[data-theme-color="putih"].night-mode .prayer-emerald-card,
body[data-theme-color="putih"][data-bs-theme="dark"] .prayer-emerald-card,
.night-mode[data-theme-color="putih"] .prayer-emerald-card,
[data-bs-theme="dark"][data-theme-color="putih"] .prayer-emerald-card {
    background: radial-gradient(circle at 50% 12%, #1e293b 0%, #0f172a 55%, #020617 100%) !important;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.75) !important;
}
html[data-theme-color="putih"].night-mode .prayer-fardhu-card,
html[data-theme-color="putih"][data-bs-theme="dark"] .prayer-fardhu-card,
body[data-theme-color="putih"].night-mode .prayer-fardhu-card,
body[data-theme-color="putih"][data-bs-theme="dark"] .prayer-fardhu-card,
.night-mode[data-theme-color="putih"] .prayer-fardhu-card,
[data-bs-theme="dark"][data-theme-color="putih"] .prayer-fardhu-card {
    background: rgba(15, 23, 42, 0.7) !important;
    border-color: rgba(148, 163, 184, 0.22) !important;
}
html[data-theme-color="putih"] .prayer-dome-svg g,
body[data-theme-color="putih"] .prayer-dome-svg g {
    stroke: #cbd5e1 !important;
}

/* --- Putih: Section 3: Kas & Keuangan Masjid --- */
html[data-theme-color="putih"] .qa-unified-head,
body[data-theme-color="putih"] .qa-unified-head {
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 55%, #020617 100%) !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2) !important;
}
html[data-theme-color="putih"] .qa-unified-head::before,
body[data-theme-color="putih"] .qa-unified-head::before {
    background: radial-gradient(circle, rgba(148, 163, 184, 0.22) 0%, transparent 70%) !important;
}
html[data-theme-color="putih"] .qa-unified-head::after,
body[data-theme-color="putih"] .qa-unified-head::after {
    background: radial-gradient(circle, rgba(51, 65, 85, 0.28) 0%, transparent 70%) !important;
}
html[data-theme-color="putih"] .qa-eq-card.card-hero,
body[data-theme-color="putih"] .qa-eq-card.card-hero {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%) !important;
    border: 1px solid rgba(148, 163, 184, 0.45) !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25) !important;
}
html[data-theme-color="putih"] .qa-eq-card.card-hero:hover,
body[data-theme-color="putih"] .qa-eq-card.card-hero:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.38) !important;
}
html[data-theme-color="putih"] .qa-eq-icon.hero,
body[data-theme-color="putih"] .qa-eq-icon.hero {
    background: rgba(148, 163, 184, 0.2) !important;
    color: #cbd5e1 !important;
}

/* --- Putih: Section 4: Berita & Artikel Cards --- */
html[data-theme-color="putih"] .istiqlal-card,
body[data-theme-color="putih"] .istiqlal-card {
    background-color: #020617 !important;
}
html[data-theme-color="putih"] .istiqlal-card-overlay,
body[data-theme-color="putih"] .istiqlal-card-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.35) 40%, rgba(15, 23, 42, 0.88) 75%, rgba(2, 6, 23, 0.98) 100%) !important;
}
html[data-theme-color="putih"] .istiqlal-card:hover .istiqlal-card-overlay,
body[data-theme-color="putih"] .istiqlal-card:hover .istiqlal-card-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.3) 35%, rgba(15, 23, 42, 0.92) 70%, rgba(2, 6, 23, 1) 100%) !important;
}
html[data-theme-color="putih"] .artikel-tagline-badge,
body[data-theme-color="putih"] .artikel-tagline-badge {
    background: rgba(51, 65, 85, 0.1) !important;
    color: #334155 !important;
    border-color: rgba(51, 65, 85, 0.3) !important;
}
html[data-theme-color="putih"] .btn-slider-circle:hover,
body[data-theme-color="putih"] .btn-slider-circle:hover {
    background: #1e293b !important;
    border-color: #1e293b !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(30, 41, 59, 0.35) !important;
}
html[data-theme-color="putih"] .btn-view-all-pill:hover,
body[data-theme-color="putih"] .btn-view-all-pill:hover {
    background: #1e293b !important;
    border-color: #1e293b !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(30, 41, 59, 0.35) !important;
}

/* --- Putih: Section 5: Galeri Dokumentasi Card / Slider / Lightbox --- */
html[data-theme-color="putih"] .gallery-lightbox-modal-content,
body[data-theme-color="putih"] .gallery-lightbox-modal-content {
    background: #0f172a !important;
    border-color: rgba(148, 163, 184, 0.28) !important;
}
html[data-theme-color="putih"] .gallery-lightbox-caption-bar,
body[data-theme-color="putih"] .gallery-lightbox-caption-bar {
    background: linear-gradient(180deg, #1e293b 0%, #020617 100%) !important;
}
html[data-theme-color="putih"] .modal-gallery-nav-btn:hover,
body[data-theme-color="putih"] .modal-gallery-nav-btn:hover {
    background: #334155 !important;
    border-color: #334155 !important;
}
html[data-theme-color="putih"] .gallery-card-badge,
body[data-theme-color="putih"] .gallery-card-badge {
    color: #cbd5e1 !important;
}
html[data-theme-color="putih"] .gallery-card-caption,
body[data-theme-color="putih"] .gallery-card-caption {
    border-left-color: #334155 !important;
}
html[data-theme-color="putih"] .gallery-slide-card:hover,
body[data-theme-color="putih"] .gallery-slide-card:hover {
    border-color: rgba(51, 65, 85, 0.4) !important;
    box-shadow: 0 20px 35px -6px rgba(15, 23, 42, 0.2), 0 8px 16px -4px rgba(15, 23, 42, 0.04) !important;
}
html[data-theme-color="putih"] .gallery-slide-card:hover .gallery-card-zoom-icon,
body[data-theme-color="putih"] .gallery-slide-card:hover .gallery-card-zoom-icon {
    background: #334155 !important;
    color: #ffffff !important;
}
html[data-theme-color="putih"] .gallery-nav-btn,
body[data-theme-color="putih"] .gallery-nav-btn {
    color: #334155 !important;
}
html[data-theme-color="putih"] .gallery-nav-btn:hover,
body[data-theme-color="putih"] .gallery-nav-btn:hover {
    color: #64748b !important;
}
html[data-theme-color="putih"] .btn-gallery-album-pill,
body[data-theme-color="putih"] .btn-gallery-album-pill {
    border-color: #334155 !important;
    color: #334155 !important;
    box-shadow: 0 4px 14px rgba(51, 65, 85, 0.18) !important;
}
html[data-theme-color="putih"] .btn-gallery-album-pill:hover,
body[data-theme-color="putih"] .btn-gallery-album-pill:hover {
    background: #1e293b !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
}

/* ==========================================================================
   4. THEME: GOLD (Imperial Amber & Royal Gold)
   ========================================================================== */
html[data-theme-color="gold"],
body[data-theme-color="gold"] {
    --theme-color-name: "gold";
    --theme-primary: #b45309;
    --theme-primary-dark: #78350f;
    --theme-primary-darker: #451a03;
    --theme-primary-light: #d97706;
    --theme-primary-surface: rgba(180, 83, 9, 0.95);
    --theme-primary-soft: #fffbeb;
    --theme-primary-border: #fde68a;
    --theme-accent: #fbbf24;
    --theme-accent-hover: #f59e0b;

    /* Override Framework Tokens */
    --qa-forest-dark: #78350f;
    --qa-forest: #b45309;
    --qa-forest-light: #d97706;
    --qa-forest-surface: rgba(180, 83, 9, 0.95);
    --qa-lime: #fbbf24;
    --qa-lime-hover: #fcd34d;
    --brand-emerald: #b45309;
    --primary-emerald: #92400e;
    --primary-dark: #451a03;
    --primary-light: #d97706;
    --primary-accent: #f59e0b;
    --qa-primary: #b45309;
    --qa-primary-dark: #78350f;
    --qa-accent: #fef08a;

    /* Istiqlal Specific */
    --istiqlal-forest: #451a03;
    --istiqlal-green-dark: #78350f;
    --istiqlal-green-primary: #b45309;
    --istiqlal-green-medium: #92400e;
    --istiqlal-green-light: #d97706;
    --istiqlal-green-gradient: linear-gradient(135deg, #78350f 0%, #f59e0b 100%);
}

html[data-theme-color="gold"] .qa-nav-capsule,
body[data-theme-color="gold"] .qa-nav-capsule {
    background: linear-gradient(135deg, rgba(69, 26, 3, 0.88) 0%, rgba(45, 17, 2, 0.95) 100%) !important;
}

html[data-theme-color="gold"] .qa-hero-gradient-overlay,
body[data-theme-color="gold"] .qa-hero-gradient-overlay {
    background: linear-gradient(90deg, rgba(69, 26, 3, 0.96) 0%, rgba(69, 26, 3, 0.90) 35%, rgba(69, 26, 3, 0.72) 65%, rgba(69, 26, 3, 0.35) 100%) !important;
}

html[data-theme-color="gold"] .hero-kegiatan-section,
body[data-theme-color="gold"] .hero-kegiatan-section,
html[data-theme-color="gold"] .donasi-hero-section,
body[data-theme-color="gold"] .donasi-hero-section,
html[data-theme-color="gold"] .gallery-hero,
body[data-theme-color="gold"] .gallery-hero,
html[data-theme-color="gold"] .archive-hero,
body[data-theme-color="gold"] .archive-hero,
html[data-theme-color="gold"] .hero-luxury,
body[data-theme-color="gold"] .hero-luxury {
    background: linear-gradient(135deg, #451a03 0%, #78350f 55%, #b45309 100%) !important;
}

html[data-theme-color="gold"] .qa-footer,
body[data-theme-color="gold"] .qa-footer {
    background: linear-gradient(180deg, #451a03 0%, #2a1002 100%) !important;
}

/* --- Gold: Section 1: Profil / Visi Misi Mastercard --- */
html[data-theme-color="gold"] .qa-master-identity-card,
body[data-theme-color="gold"] .qa-master-identity-card {
    background: linear-gradient(145deg, #92400e 0%, #451a03 100%) !important;
    border-color: rgba(251, 191, 36, 0.45) !important;
    box-shadow: 0 20px 48px rgba(69, 26, 3, 0.38) !important;
}
html[data-theme-color="gold"] .qa-master-identity-card:hover,
body[data-theme-color="gold"] .qa-master-identity-card:hover {
    box-shadow: 0 24px 54px rgba(69, 26, 3, 0.52) !important;
    border-color: rgba(251, 191, 36, 0.7) !important;
}
html[data-theme-color="gold"].night-mode .qa-master-identity-card,
html[data-theme-color="gold"][data-bs-theme="dark"] .qa-master-identity-card,
body[data-theme-color="gold"].night-mode .qa-master-identity-card,
body[data-theme-color="gold"][data-bs-theme="dark"] .qa-master-identity-card,
.night-mode[data-theme-color="gold"] .qa-master-identity-card,
[data-bs-theme="dark"][data-theme-color="gold"] .qa-master-identity-card {
    background: linear-gradient(145deg, #451a03 0%, #200c01 100%) !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55) !important;
    border-color: rgba(251, 191, 36, 0.45) !important;
}

/* --- Gold: Section 2: Waktu Sholat & Hitung Mundur --- */
html[data-theme-color="gold"] .prayer-emerald-card,
body[data-theme-color="gold"] .prayer-emerald-card {
    background: radial-gradient(circle at 50% 12%, #b45309 0%, #78350f 55%, #451a03 100%) !important;
    border-color: rgba(251, 191, 36, 0.42) !important;
    box-shadow: 0 20px 48px rgba(69, 26, 3, 0.42) !important;
}
html[data-theme-color="gold"] .prayer-emerald-card:hover,
body[data-theme-color="gold"] .prayer-emerald-card:hover {
    box-shadow: 0 24px 54px rgba(69, 26, 3, 0.55) !important;
    border-color: rgba(251, 191, 36, 0.65) !important;
}
html[data-theme-color="gold"] .prayer-countdown-capsule,
body[data-theme-color="gold"] .prayer-countdown-capsule {
    background: rgba(30, 11, 1, 0.65) !important;
    border-color: rgba(251, 191, 36, 0.32) !important;
}
html[data-theme-color="gold"] .prayer-countdown-label,
body[data-theme-color="gold"] .prayer-countdown-label {
    color: #fcd34d !important;
}
html[data-theme-color="gold"] .prayer-fardhu-card,
body[data-theme-color="gold"] .prayer-fardhu-card {
    background: rgba(69, 26, 3, 0.55) !important;
    border-color: rgba(251, 191, 36, 0.25) !important;
}
html[data-theme-color="gold"] .prayer-fardhu-card:hover,
body[data-theme-color="gold"] .prayer-fardhu-card:hover {
    background: rgba(120, 53, 15, 0.75) !important;
    border-color: rgba(251, 191, 36, 0.55) !important;
}
html[data-theme-color="gold"] .prayer-fardhu-card.active,
body[data-theme-color="gold"] .prayer-fardhu-card.active {
    background: linear-gradient(135deg, #d97706 0%, #fbbf24 50%, #b45309 100%) !important;
    border: 1.8px solid #fef08a !important;
    box-shadow: 0 0 32px rgba(251, 191, 36, 0.7), 0 14px 28px rgba(0, 0, 0, 0.38) !important;
}
html[data-theme-color="gold"].night-mode .prayer-emerald-card,
html[data-theme-color="gold"][data-bs-theme="dark"] .prayer-emerald-card,
body[data-theme-color="gold"].night-mode .prayer-emerald-card,
body[data-theme-color="gold"][data-bs-theme="dark"] .prayer-emerald-card,
.night-mode[data-theme-color="gold"] .prayer-emerald-card,
[data-bs-theme="dark"][data-theme-color="gold"] .prayer-emerald-card {
    background: radial-gradient(circle at 50% 12%, #632a08 0%, #451a03 55%, #200c01 100%) !important;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.75) !important;
}
html[data-theme-color="gold"].night-mode .prayer-fardhu-card,
html[data-theme-color="gold"][data-bs-theme="dark"] .prayer-fardhu-card,
body[data-theme-color="gold"].night-mode .prayer-fardhu-card,
body[data-theme-color="gold"][data-bs-theme="dark"] .prayer-fardhu-card,
.night-mode[data-theme-color="gold"] .prayer-fardhu-card,
[data-bs-theme="dark"][data-theme-color="gold"] .prayer-fardhu-card {
    background: rgba(69, 26, 3, 0.65) !important;
    border-color: rgba(251, 191, 36, 0.25) !important;
}
html[data-theme-color="gold"] .prayer-dome-svg g,
body[data-theme-color="gold"] .prayer-dome-svg g {
    stroke: #fbbf24 !important;
}

/* --- Gold: Section 3: Kas & Keuangan Masjid --- */
html[data-theme-color="gold"] .qa-unified-head,
body[data-theme-color="gold"] .qa-unified-head {
    background: linear-gradient(145deg, #78350f 0%, #451a03 55%, #2a1002 100%) !important;
    border-bottom: 1px solid rgba(251, 191, 36, 0.2) !important;
}
html[data-theme-color="gold"] .qa-unified-head::before,
body[data-theme-color="gold"] .qa-unified-head::before {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.26) 0%, transparent 70%) !important;
}
html[data-theme-color="gold"] .qa-unified-head::after,
body[data-theme-color="gold"] .qa-unified-head::after {
    background: radial-gradient(circle, rgba(180, 83, 9, 0.28) 0%, transparent 70%) !important;
}
html[data-theme-color="gold"] .qa-eq-card.card-hero,
body[data-theme-color="gold"] .qa-eq-card.card-hero {
    background: linear-gradient(135deg, #451a03 0%, #b45309 100%) !important;
    border: 1px solid rgba(251, 191, 36, 0.45) !important;
    box-shadow: 0 4px 14px rgba(69, 26, 3, 0.25) !important;
}
html[data-theme-color="gold"] .qa-eq-card.card-hero:hover,
body[data-theme-color="gold"] .qa-eq-card.card-hero:hover {
    box-shadow: 0 8px 24px rgba(69, 26, 3, 0.38) !important;
}
html[data-theme-color="gold"] .qa-eq-icon.hero,
body[data-theme-color="gold"] .qa-eq-icon.hero {
    background: rgba(251, 191, 36, 0.2) !important;
    color: #fbbf24 !important;
}

/* --- Gold: Section 4: Berita & Artikel Cards --- */
html[data-theme-color="gold"] .istiqlal-card,
body[data-theme-color="gold"] .istiqlal-card {
    background-color: #2a1002 !important;
}
html[data-theme-color="gold"] .istiqlal-card-overlay,
body[data-theme-color="gold"] .istiqlal-card-overlay {
    background: linear-gradient(180deg, rgba(69, 26, 3, 0.05) 0%, rgba(69, 26, 3, 0.35) 40%, rgba(69, 26, 3, 0.88) 75%, rgba(42, 16, 2, 0.98) 100%) !important;
}
html[data-theme-color="gold"] .istiqlal-card:hover .istiqlal-card-overlay,
body[data-theme-color="gold"] .istiqlal-card:hover .istiqlal-card-overlay {
    background: linear-gradient(180deg, rgba(69, 26, 3, 0.05) 0%, rgba(69, 26, 3, 0.3) 35%, rgba(69, 26, 3, 0.92) 70%, rgba(42, 16, 2, 1) 100%) !important;
}
html[data-theme-color="gold"] .artikel-tagline-badge,
body[data-theme-color="gold"] .artikel-tagline-badge {
    background: rgba(180, 83, 9, 0.1) !important;
    color: #b45309 !important;
    border-color: rgba(180, 83, 9, 0.3) !important;
}
html[data-theme-color="gold"] .btn-slider-circle:hover,
body[data-theme-color="gold"] .btn-slider-circle:hover {
    background: #b45309 !important;
    border-color: #b45309 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(180, 83, 9, 0.35) !important;
}
html[data-theme-color="gold"] .btn-view-all-pill:hover,
body[data-theme-color="gold"] .btn-view-all-pill:hover {
    background: #b45309 !important;
    border-color: #b45309 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(180, 83, 9, 0.35) !important;
}

/* --- Gold: Section 5: Galeri Dokumentasi Card / Slider / Lightbox --- */
html[data-theme-color="gold"] .gallery-lightbox-modal-content,
body[data-theme-color="gold"] .gallery-lightbox-modal-content {
    background: #451a03 !important;
    border-color: rgba(251, 191, 36, 0.32) !important;
}
html[data-theme-color="gold"] .gallery-lightbox-caption-bar,
body[data-theme-color="gold"] .gallery-lightbox-caption-bar {
    background: linear-gradient(180deg, #78350f 0%, #2a1002 100%) !important;
}
html[data-theme-color="gold"] .modal-gallery-nav-btn:hover,
body[data-theme-color="gold"] .modal-gallery-nav-btn:hover {
    background: #b45309 !important;
    border-color: #b45309 !important;
}
html[data-theme-color="gold"] .gallery-card-badge,
body[data-theme-color="gold"] .gallery-card-badge {
    color: #fbbf24 !important;
}
html[data-theme-color="gold"] .gallery-card-caption,
body[data-theme-color="gold"] .gallery-card-caption {
    border-left-color: #b45309 !important;
}
html[data-theme-color="gold"] .gallery-slide-card:hover,
body[data-theme-color="gold"] .gallery-slide-card:hover {
    border-color: rgba(180, 83, 9, 0.4) !important;
    box-shadow: 0 20px 35px -6px rgba(69, 26, 3, 0.2), 0 8px 16px -4px rgba(15, 23, 42, 0.04) !important;
}
html[data-theme-color="gold"] .gallery-slide-card:hover .gallery-card-zoom-icon,
body[data-theme-color="gold"] .gallery-slide-card:hover .gallery-card-zoom-icon {
    background: #b45309 !important;
    color: #ffffff !important;
}
html[data-theme-color="gold"] .gallery-nav-btn,
body[data-theme-color="gold"] .gallery-nav-btn {
    color: #b45309 !important;
}
html[data-theme-color="gold"] .gallery-nav-btn:hover,
body[data-theme-color="gold"] .gallery-nav-btn:hover {
    color: #fbbf24 !important;
}
html[data-theme-color="gold"] .btn-gallery-album-pill,
body[data-theme-color="gold"] .btn-gallery-album-pill {
    border-color: #b45309 !important;
    color: #b45309 !important;
    box-shadow: 0 4px 14px rgba(180, 83, 9, 0.18) !important;
}
html[data-theme-color="gold"] .btn-gallery-album-pill:hover,
body[data-theme-color="gold"] .btn-gallery-album-pill:hover {
    background: #b45309 !important;
    border-color: #78350f !important;
    color: #ffffff !important;
}

/* ==========================================================================
   5. THEME: ORANGE (Terracotta & Desert Warmth)
   ========================================================================== */
html[data-theme-color="orange"],
body[data-theme-color="orange"] {
    --theme-color-name: "orange";
    --theme-primary: #c2410c;
    --theme-primary-dark: #7c2d12;
    --theme-primary-darker: #431407;
    --theme-primary-light: #ea580c;
    --theme-primary-surface: rgba(194, 65, 12, 0.95);
    --theme-primary-soft: #fff7ed;
    --theme-primary-border: #fed7aa;
    --theme-accent: #fed7aa;
    --theme-accent-hover: #ffedd5;

    /* Override Framework Tokens */
    --qa-forest-dark: #7c2d12;
    --qa-forest: #c2410c;
    --qa-forest-light: #ea580c;
    --qa-forest-surface: rgba(194, 65, 12, 0.95);
    --qa-lime: #fed7aa;
    --qa-lime-hover: #ffedd5;
    --brand-emerald: #c2410c;
    --primary-emerald: #9a3412;
    --primary-dark: #431407;
    --primary-light: #ea580c;
    --primary-accent: #f97316;
    --qa-primary: #c2410c;
    --qa-primary-dark: #7c2d12;
    --qa-accent: #fbbf24;

    /* Istiqlal Specific */
    --istiqlal-forest: #431407;
    --istiqlal-green-dark: #7c2d12;
    --istiqlal-green-primary: #c2410c;
    --istiqlal-green-medium: #9a3412;
    --istiqlal-green-light: #ea580c;
    --istiqlal-green-gradient: linear-gradient(135deg, #7c2d12 0%, #f97316 100%);
}

html[data-theme-color="orange"] .qa-nav-capsule,
body[data-theme-color="orange"] .qa-nav-capsule {
    background: linear-gradient(135deg, rgba(67, 20, 7, 0.88) 0%, rgba(43, 13, 4, 0.95) 100%) !important;
}

html[data-theme-color="orange"] .qa-hero-gradient-overlay,
body[data-theme-color="orange"] .qa-hero-gradient-overlay {
    background: linear-gradient(90deg, rgba(67, 20, 7, 0.96) 0%, rgba(67, 20, 7, 0.90) 35%, rgba(67, 20, 7, 0.72) 65%, rgba(67, 20, 7, 0.35) 100%) !important;
}

html[data-theme-color="orange"] .hero-kegiatan-section,
body[data-theme-color="orange"] .hero-kegiatan-section,
html[data-theme-color="orange"] .donasi-hero-section,
body[data-theme-color="orange"] .donasi-hero-section,
html[data-theme-color="orange"] .gallery-hero,
body[data-theme-color="orange"] .gallery-hero,
html[data-theme-color="orange"] .archive-hero,
body[data-theme-color="orange"] .archive-hero,
html[data-theme-color="orange"] .hero-luxury,
body[data-theme-color="orange"] .hero-luxury {
    background: linear-gradient(135deg, #431407 0%, #7c2d12 55%, #c2410c 100%) !important;
}

html[data-theme-color="orange"] .qa-footer,
body[data-theme-color="orange"] .qa-footer {
    background: linear-gradient(180deg, #431407 0%, #280a03 100%) !important;
}

/* --- Orange: Section 1: Profil / Visi Misi Mastercard --- */
html[data-theme-color="orange"] .qa-master-identity-card,
body[data-theme-color="orange"] .qa-master-identity-card {
    background: linear-gradient(145deg, #9a3412 0%, #431407 100%) !important;
    border-color: rgba(251, 146, 60, 0.45) !important;
    box-shadow: 0 20px 48px rgba(67, 20, 7, 0.38) !important;
}
html[data-theme-color="orange"] .qa-master-identity-card:hover,
body[data-theme-color="orange"] .qa-master-identity-card:hover {
    box-shadow: 0 24px 54px rgba(67, 20, 7, 0.52) !important;
    border-color: rgba(251, 146, 60, 0.7) !important;
}
html[data-theme-color="orange"].night-mode .qa-master-identity-card,
html[data-theme-color="orange"][data-bs-theme="dark"] .qa-master-identity-card,
body[data-theme-color="orange"].night-mode .qa-master-identity-card,
body[data-theme-color="orange"][data-bs-theme="dark"] .qa-master-identity-card,
.night-mode[data-theme-color="orange"] .qa-master-identity-card,
[data-bs-theme="dark"][data-theme-color="orange"] .qa-master-identity-card {
    background: linear-gradient(145deg, #431407 0%, #1f0802 100%) !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55) !important;
    border-color: rgba(251, 146, 60, 0.45) !important;
}

/* --- Orange: Section 2: Waktu Sholat & Hitung Mundur --- */
html[data-theme-color="orange"] .prayer-emerald-card,
body[data-theme-color="orange"] .prayer-emerald-card {
    background: radial-gradient(circle at 50% 12%, #c2410c 0%, #7c2d12 55%, #431407 100%) !important;
    border-color: rgba(251, 146, 60, 0.42) !important;
    box-shadow: 0 20px 48px rgba(67, 20, 7, 0.42) !important;
}
html[data-theme-color="orange"] .prayer-emerald-card:hover,
body[data-theme-color="orange"] .prayer-emerald-card:hover {
    box-shadow: 0 24px 54px rgba(67, 20, 7, 0.55) !important;
    border-color: rgba(251, 146, 60, 0.65) !important;
}
html[data-theme-color="orange"] .prayer-countdown-capsule,
body[data-theme-color="orange"] .prayer-countdown-capsule {
    background: rgba(28, 8, 2, 0.65) !important;
    border-color: rgba(251, 146, 60, 0.32) !important;
}
html[data-theme-color="orange"] .prayer-countdown-label,
body[data-theme-color="orange"] .prayer-countdown-label {
    color: #fed7aa !important;
}
html[data-theme-color="orange"] .prayer-fardhu-card,
body[data-theme-color="orange"] .prayer-fardhu-card {
    background: rgba(67, 20, 7, 0.55) !important;
    border-color: rgba(251, 146, 60, 0.25) !important;
}
html[data-theme-color="orange"] .prayer-fardhu-card:hover,
body[data-theme-color="orange"] .prayer-fardhu-card:hover {
    background: rgba(124, 45, 18, 0.75) !important;
    border-color: rgba(251, 146, 60, 0.55) !important;
}
html[data-theme-color="orange"] .prayer-fardhu-card.active,
body[data-theme-color="orange"] .prayer-fardhu-card.active {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #c2410c 100%) !important;
    border: 1.8px solid #ffedd5 !important;
    box-shadow: 0 0 32px rgba(249, 115, 22, 0.7), 0 14px 28px rgba(0, 0, 0, 0.38) !important;
}
html[data-theme-color="orange"].night-mode .prayer-emerald-card,
html[data-theme-color="orange"][data-bs-theme="dark"] .prayer-emerald-card,
body[data-theme-color="orange"].night-mode .prayer-emerald-card,
body[data-theme-color="orange"][data-bs-theme="dark"] .prayer-emerald-card,
.night-mode[data-theme-color="orange"] .prayer-emerald-card,
[data-bs-theme="dark"][data-theme-color="orange"] .prayer-emerald-card {
    background: radial-gradient(circle at 50% 12%, #682208 0%, #431407 55%, #1f0802 100%) !important;
    box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.75) !important;
}
html[data-theme-color="orange"].night-mode .prayer-fardhu-card,
html[data-theme-color="orange"][data-bs-theme="dark"] .prayer-fardhu-card,
body[data-theme-color="orange"].night-mode .prayer-fardhu-card,
body[data-theme-color="orange"][data-bs-theme="dark"] .prayer-fardhu-card,
.night-mode[data-theme-color="orange"] .prayer-fardhu-card,
[data-bs-theme="dark"][data-theme-color="orange"] .prayer-fardhu-card {
    background: rgba(67, 20, 7, 0.65) !important;
    border-color: rgba(251, 146, 60, 0.25) !important;
}
html[data-theme-color="orange"] .prayer-dome-svg g,
body[data-theme-color="orange"] .prayer-dome-svg g {
    stroke: #fb923c !important;
}

/* --- Orange: Section 3: Kas & Keuangan Masjid --- */
html[data-theme-color="orange"] .qa-unified-head,
body[data-theme-color="orange"] .qa-unified-head {
    background: linear-gradient(145deg, #7c2d12 0%, #431407 55%, #280a03 100%) !important;
    border-bottom: 1px solid rgba(251, 146, 60, 0.2) !important;
}
html[data-theme-color="orange"] .qa-unified-head::before,
body[data-theme-color="orange"] .qa-unified-head::before {
    background: radial-gradient(circle, rgba(251, 146, 60, 0.26) 0%, transparent 70%) !important;
}
html[data-theme-color="orange"] .qa-unified-head::after,
body[data-theme-color="orange"] .qa-unified-head::after {
    background: radial-gradient(circle, rgba(194, 65, 12, 0.28) 0%, transparent 70%) !important;
}
html[data-theme-color="orange"] .qa-eq-card.card-hero,
body[data-theme-color="orange"] .qa-eq-card.card-hero {
    background: linear-gradient(135deg, #431407 0%, #c2410c 100%) !important;
    border: 1px solid rgba(251, 146, 60, 0.45) !important;
    box-shadow: 0 4px 14px rgba(67, 20, 7, 0.25) !important;
}
html[data-theme-color="orange"] .qa-eq-card.card-hero:hover,
body[data-theme-color="orange"] .qa-eq-card.card-hero:hover {
    box-shadow: 0 8px 24px rgba(67, 20, 7, 0.38) !important;
}
html[data-theme-color="orange"] .qa-eq-icon.hero,
body[data-theme-color="orange"] .qa-eq-icon.hero {
    background: rgba(251, 146, 60, 0.2) !important;
    color: #fed7aa !important;
}

/* --- Orange: Section 4: Berita & Artikel Cards --- */
html[data-theme-color="orange"] .istiqlal-card,
body[data-theme-color="orange"] .istiqlal-card {
    background-color: #280a03 !important;
}
html[data-theme-color="orange"] .istiqlal-card-overlay,
body[data-theme-color="orange"] .istiqlal-card-overlay {
    background: linear-gradient(180deg, rgba(67, 20, 7, 0.05) 0%, rgba(67, 20, 7, 0.35) 40%, rgba(67, 20, 7, 0.88) 75%, rgba(40, 10, 3, 0.98) 100%) !important;
}
html[data-theme-color="orange"] .istiqlal-card:hover .istiqlal-card-overlay,
body[data-theme-color="orange"] .istiqlal-card:hover .istiqlal-card-overlay {
    background: linear-gradient(180deg, rgba(67, 20, 7, 0.05) 0%, rgba(67, 20, 7, 0.3) 35%, rgba(67, 20, 7, 0.92) 70%, rgba(40, 10, 3, 1) 100%) !important;
}
html[data-theme-color="orange"] .artikel-tagline-badge,
body[data-theme-color="orange"] .artikel-tagline-badge {
    background: rgba(194, 65, 12, 0.1) !important;
    color: #c2410c !important;
    border-color: rgba(194, 65, 12, 0.3) !important;
}
html[data-theme-color="orange"] .btn-slider-circle:hover,
body[data-theme-color="orange"] .btn-slider-circle:hover {
    background: #ea580c !important;
    border-color: #ea580c !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35) !important;
}
html[data-theme-color="orange"] .btn-view-all-pill:hover,
body[data-theme-color="orange"] .btn-view-all-pill:hover {
    background: #ea580c !important;
    border-color: #ea580c !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35) !important;
}

/* --- Orange: Section 5: Galeri Dokumentasi Card / Slider / Lightbox --- */
html[data-theme-color="orange"] .gallery-lightbox-modal-content,
body[data-theme-color="orange"] .gallery-lightbox-modal-content {
    background: #431407 !important;
    border-color: rgba(251, 146, 60, 0.32) !important;
}
html[data-theme-color="orange"] .gallery-lightbox-caption-bar,
body[data-theme-color="orange"] .gallery-lightbox-caption-bar {
    background: linear-gradient(180deg, #7c2d12 0%, #280a03 100%) !important;
}
html[data-theme-color="orange"] .modal-gallery-nav-btn:hover,
body[data-theme-color="orange"] .modal-gallery-nav-btn:hover {
    background: #ea580c !important;
    border-color: #ea580c !important;
}
html[data-theme-color="orange"] .gallery-card-badge,
body[data-theme-color="orange"] .gallery-card-badge {
    color: #fed7aa !important;
}
html[data-theme-color="orange"] .gallery-card-caption,
body[data-theme-color="orange"] .gallery-card-caption {
    border-left-color: #ea580c !important;
}
html[data-theme-color="orange"] .gallery-slide-card:hover,
body[data-theme-color="orange"] .gallery-slide-card:hover {
    border-color: rgba(234, 88, 12, 0.4) !important;
    box-shadow: 0 20px 35px -6px rgba(67, 20, 7, 0.2), 0 8px 16px -4px rgba(15, 23, 42, 0.04) !important;
}
html[data-theme-color="orange"] .gallery-slide-card:hover .gallery-card-zoom-icon,
body[data-theme-color="orange"] .gallery-slide-card:hover .gallery-card-zoom-icon {
    background: #ea580c !important;
    color: #ffffff !important;
}
html[data-theme-color="orange"] .gallery-nav-btn,
body[data-theme-color="orange"] .gallery-nav-btn {
    color: #c2410c !important;
}
html[data-theme-color="orange"] .gallery-nav-btn:hover,
body[data-theme-color="orange"] .gallery-nav-btn:hover {
    color: #ea580c !important;
}
html[data-theme-color="orange"] .btn-gallery-album-pill,
body[data-theme-color="orange"] .btn-gallery-album-pill {
    border-color: #ea580c !important;
    color: #c2410c !important;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.18) !important;
}
html[data-theme-color="orange"] .btn-gallery-album-pill:hover,
body[data-theme-color="orange"] .btn-gallery-album-pill:hover {
    background: #ea580c !important;
    border-color: #c2410c !important;
    color: #ffffff !important;
}

/* ==========================================================================
   Remove Bottom Green Haze Vignette
   ========================================================================== */
.qa-hero-bottom-vignette {
    display: none !important;
}

html[data-theme-color="biru"] .qa-btn-istiqlal-primary {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 10px 28px rgba(2, 132, 199, 0.42), 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}
html[data-theme-color="biru"] .qa-btn-istiqlal-primary:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%) !important;
    box-shadow: 0 16px 36px rgba(2, 132, 199, 0.58) !important;
}

html[data-theme-color="putih"] .qa-btn-istiqlal-primary {
    background: linear-gradient(135deg, #334155 0%, #475569 100%) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.42), 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}
html[data-theme-color="putih"] .qa-btn-istiqlal-primary:hover {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.58) !important;
}

html[data-theme-color="gold"] .qa-btn-istiqlal-primary {
    background: linear-gradient(135deg, #b45309 0%, #d97706 100%) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 10px 28px rgba(180, 83, 9, 0.42), 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}
html[data-theme-color="gold"] .qa-btn-istiqlal-primary:hover {
    background: linear-gradient(135deg, #78350f 0%, #b45309 100%) !important;
    box-shadow: 0 16px 36px rgba(180, 83, 9, 0.58) !important;
}

html[data-theme-color="orange"] .qa-btn-istiqlal-primary {
    background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 10px 28px rgba(194, 65, 12, 0.42), 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}
html[data-theme-color="orange"] .qa-btn-istiqlal-primary:hover {
    background: linear-gradient(135deg, #9a3412 0%, #c2410c 100%) !important;
    box-shadow: 0 16px 36px rgba(194, 65, 12, 0.58) !important;
}

/* ==========================================================================
   GLOBAL COMPONENT HARMONIZATION (Active when non-default theme is chosen)
   ========================================================================== */
html[data-theme-color="biru"] .qa-btn-istiqlal-primary,
html[data-theme-color="biru"] .btn-primary,
html[data-theme-color="biru"] .btn-agenda-primary,
html[data-theme-color="biru"] .btn-donasi-cta,
html[data-theme-color="biru"] .btn-submit-donasi,
html[data-theme-color="biru"] .cat-filter-pill.active,
html[data-theme-color="biru"] .album-filter-pill.active,
html[data-theme-color="biru"] .kegiatan-cat-pill.active {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
}

html[data-theme-color="biru"] .text-success {
    color: #0284c7 !important;
}

html[data-theme-color="biru"] .bg-success {
    background-color: #0284c7 !important;
}

html[data-theme-color="biru"] .border-success {
    border-color: #0284c7 !important;
}

html[data-theme-color="putih"] .qa-btn-istiqlal-primary,
html[data-theme-color="putih"] .btn-primary,
html[data-theme-color="putih"] .btn-agenda-primary,
html[data-theme-color="putih"] .btn-donasi-cta,
html[data-theme-color="putih"] .btn-submit-donasi,
html[data-theme-color="putih"] .cat-filter-pill.active,
html[data-theme-color="putih"] .album-filter-pill.active,
html[data-theme-color="putih"] .kegiatan-cat-pill.active {
    background: #1e293b !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
}

html[data-theme-color="putih"] .text-success {
    color: #334155 !important;
}

html[data-theme-color="putih"] .bg-success {
    background-color: #334155 !important;
}

html[data-theme-color="putih"] .border-success {
    border-color: #475569 !important;
}

html[data-theme-color="gold"] .qa-btn-istiqlal-primary,
html[data-theme-color="gold"] .btn-primary,
html[data-theme-color="gold"] .btn-agenda-primary,
html[data-theme-color="gold"] .btn-donasi-cta,
html[data-theme-color="gold"] .btn-submit-donasi,
html[data-theme-color="gold"] .cat-filter-pill.active,
html[data-theme-color="gold"] .album-filter-pill.active,
html[data-theme-color="gold"] .kegiatan-cat-pill.active {
    background: #b45309 !important;
    border-color: #78350f !important;
    color: #ffffff !important;
}

html[data-theme-color="gold"] .text-success {
    color: #b45309 !important;
}

html[data-theme-color="gold"] .bg-success {
    background-color: #b45309 !important;
}

html[data-theme-color="gold"] .border-success {
    border-color: #d97706 !important;
}

html[data-theme-color="orange"] .qa-btn-istiqlal-primary,
html[data-theme-color="orange"] .btn-primary,
html[data-theme-color="orange"] .btn-agenda-primary,
html[data-theme-color="orange"] .btn-donasi-cta,
html[data-theme-color="orange"] .btn-submit-donasi,
html[data-theme-color="orange"] .cat-filter-pill.active,
html[data-theme-color="orange"] .album-filter-pill.active,
html[data-theme-color="orange"] .kegiatan-cat-pill.active {
    background: #ea580c !important;
    border-color: #c2410c !important;
    color: #ffffff !important;
}

html[data-theme-color="orange"] .text-success {
    color: #ea580c !important;
}

html[data-theme-color="orange"] .bg-success {
    background-color: #ea580c !important;
}

html[data-theme-color="orange"] .border-success {
    border-color: #f97316 !important;
}

/* ==========================================================================
   QR CODE WEBSITE MODAL STYLING (Universal across Public & Admin)
   ========================================================================== */
.btn-qr-web-pill {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-qr-web-pill:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: scale(1.06);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.modal-qr-website .modal-content {
    border-radius: 24px;
    border: none;
    overflow: hidden;
    box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35);
}

.modal-qr-header {
    background: linear-gradient(135deg, var(--qa-forest-dark, #004d3a) 0%, var(--qa-forest, #007054) 100%);
    color: #ffffff;
    padding: 22px 26px;
    position: relative;
}

.qr-code-frame {
    background: #ffffff;
    border: 2px dashed #e2e8f0;
    border-radius: 20px;
    padding: 16px;
    display: inline-block;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.qr-code-frame:hover {
    transform: scale(1.02);
}

.qr-code-frame img {
    display: block;
    max-width: 260px;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.qr-url-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 8px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    word-break: break-all;
}


/* ==========================================================================
   HAMBURGER BUTTON (MOBILE & TABLET SINGLE NAV)
   STRICTLY HIDDEN ON DESKTOP (>= 992px)
   ========================================================================== */
.btn-nav-hamburger {
    display: none !important;
}

@media (min-width: 992px) {
    .btn-nav-hamburger,
    button.btn-nav-hamburger,
    .qa-nav-actions .btn-nav-hamburger {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        width: 0 !important;
        height: 0 !important;
        min-width: 0 !important;
        max-width: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
    }
}

@media (max-width: 991.98px) {
    .btn-nav-hamburger,
    button.btn-nav-hamburger,
    .qa-nav-actions .btn-nav-hamburger {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        min-height: 42px !important;
        max-height: 42px !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 50% !important;
        background: rgba(13, 44, 33, 0.88) !important;
        backdrop-filter: blur(14px) !important;
        -webkit-backdrop-filter: blur(14px) !important;
        border: 1px solid rgba(255, 255, 255, 0.24) !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35) !important;
        color: #ffffff !important;
        font-size: 1.45rem !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        box-sizing: border-box !important;
        flex-shrink: 0 !important;
        outline: none !important;
    }
    .btn-nav-hamburger:active {
        transform: scale(0.92) !important;
    }
    .night-mode .btn-nav-hamburger,
    [data-bs-theme="dark"] .btn-nav-hamburger {
        background: rgba(15, 23, 42, 0.9) !important;
        border-color: rgba(255, 255, 255, 0.22) !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6) !important;
        color: #f1f5f9 !important;
    }
}

/* ==========================================================================
   OFFCANVAS NAVIGATION DRAWER (PREMIUM MODERN LUXURY ISLAMIC - VIBRANT EMERALD)
   MATCHES HOMEPAGE EMERALD PALETTE WITH CLEAR, LUMINOUS GREEN TONES
   ========================================================================== */
.qa-offcanvas-drawer {
    width: 320px !important;
    max-width: 86vw !important;
    background: linear-gradient(180deg, #083d2c 0%, #0a4c37 50%, #063324 100%) !important;
    color: #ffffff !important;
    border-left: 1px solid rgba(52, 211, 153, 0.25) !important;
    box-shadow: -14px 0 45px rgba(0, 0, 0, 0.65) !important;
    z-index: 1070 !important;
    display: flex;
    flex-direction: column;
}

.qa-drawer-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qa-drawer-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    letter-spacing: -0.2px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-close-drawer {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    line-height: 1 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    flex-shrink: 0 !important;
}

.btn-close-drawer:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    transform: rotate(90deg) scale(1.05) !important;
}

.qa-drawer-body {
    padding: 14px 12px;
    overflow-y: auto;
    flex-grow: 1;
    overscroll-behavior: contain;
}

.qa-drawer-body::-webkit-scrollbar {
    width: 4px;
}

.qa-drawer-body::-webkit-scrollbar-track {
    background: transparent;
}

.qa-drawer-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.qa-drawer-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.28);
}

.qa-drawer-group-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 6px;
    padding-left: 8px;
    margin-top: 16px;
}

.qa-drawer-group-label:first-child {
    margin-top: 0;
}

.qa-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.qa-drawer-item,
.qa-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none !important;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer !important;
}

.qa-drawer-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.qa-drawer-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: all 0.18s ease;
}

.qa-drawer-item-label {
    font-size: 0.89rem;
    font-weight: 500;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.1px;
    transition: color 0.18s ease;
}

.qa-drawer-item-arrow {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    transition: all 0.18s ease;
    margin-left: 8px;
}

.qa-drawer-tag {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.16);
    flex-shrink: 0;
    margin-left: 8px;
}

.qa-drawer-item:hover,
.qa-drawer-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    transform: translateX(2px);
}

.qa-drawer-item:hover .qa-drawer-icon-box,
.qa-drawer-link:hover .qa-drawer-icon-box {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.qa-drawer-item:hover .qa-drawer-item-label,
.qa-drawer-link:hover .qa-drawer-item-label {
    color: #ffffff;
}

.qa-drawer-item:hover .qa-drawer-item-arrow,
.qa-drawer-link:hover .qa-drawer-item-arrow {
    color: rgba(255, 255, 255, 0.75);
    transform: translateX(2px);
}

.qa-drawer-item.active,
.qa-drawer-link.active {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(52, 211, 153, 0.45) !important;
    border-left: 3px solid #34d399 !important;
}

.qa-drawer-item.active .qa-drawer-icon-box,
.qa-drawer-link.active .qa-drawer-icon-box {
    background: rgba(52, 211, 153, 0.25) !important;
    border-color: rgba(52, 211, 153, 0.5) !important;
    color: #34d399 !important;
}

.qa-drawer-item.active .qa-drawer-item-label,
.qa-drawer-link.active .qa-drawer-item-label {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.qa-drawer-item.active .qa-drawer-item-arrow,
.qa-drawer-link.active .qa-drawer-item-arrow {
    color: #34d399 !important;
    opacity: 1 !important;
}

.qa-drawer-footer {
    padding: 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.16);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qa-drawer-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.qa-drawer-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.qa-drawer-social-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-1px);
}

.qa-drawer-copyright {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.45);
    text-align: center;
    letter-spacing: 0.2px;
}

/* Dark Mode overrides for drawer */
.night-mode .qa-offcanvas-drawer,
[data-bs-theme="dark"] .qa-offcanvas-drawer {
    background: linear-gradient(180deg, #05291e 0%, #063325 50%, #041f17 100%) !important;
    border-left-color: rgba(52, 211, 153, 0.2) !important;
}


/* ==========================================================================
   SCROLL MARGIN TOP FOR FIXED/FLOATING CAPSULE NAVBAR ALIGNMENT
   ========================================================================== */
#segments-section,
#layanan-section,
#prayer-times-section,
#audio-section,
#kas-section,
#artikel-section,
#galeri-section,
#kegiatan-section,
#donasi-section,
#about-section {
    scroll-margin-top: 85px !important;
}
