/* ==========================================================================
   ARAB VOICE FOR TRAINING (صوت العرب للتدريب)
   High-End Luxury Medical EdTech Design System
   Exact Brand Palette: Deep Velvet Burgundy, Wine, Royal Gold & Warm Porcelain
   ========================================================================== */

:root {
    --burgundy-darkest: #2E0513;
    --burgundy-deep: #4A0B22;
    --burgundy: #651030;
    --burgundy-light: #7E153D;
    --crimson: #A21E4C;
    --crimson-bright: #BD235A;
    --gold-dark: #A57E28;
    --gold: #C9A24B;
    --gold-light: #DFC06F;
    --gold-pale: #F3E5C2;
    --gold-glow: rgba(201, 162, 75, 0.35);
    --plum: #4B2A6B;
    --plum-dark: #32164A;
    --blush: #F6D3DF;
    --blush-light: #FDF1F5;
    --cream: #FAF3F6;
    --cream-light: #FDFBFB;
    --white: #FFFFFF;
    --ink: #230813;
    --ink-light: #4A2333;
    --muted: #7E5C6B;
    --border-light: rgba(162, 30, 76, 0.12);
    --border-gold: rgba(201, 162, 75, 0.35);

    /* Gradients */
    --grad-hero: linear-gradient(145deg, #2D0514 0%, #4A0B22 45%, #651030 100%);
    --grad-burgundy: linear-gradient(135deg, #4A0B22 0%, #651030 50%, #8E1A40 100%);
    --grad-crimson: linear-gradient(135deg, #A21E4C 0%, #651030 100%);
    --grad-gold: linear-gradient(135deg, #DFC06F 0%, #C9A24B 60%, #A57E28 100%);
    --grad-card-dark: linear-gradient(145deg, #380718 0%, #4A0B22 100%);
    --grad-surface: linear-gradient(180deg, #FFFFFF 0%, #FAF3F6 100%);

    /* Radius & Shadows */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    --shadow-sm: 0 4px 12px rgba(46, 5, 19, 0.05);
    --shadow-md: 0 12px 28px -6px rgba(46, 5, 19, 0.1);
    --shadow-lg: 0 24px 48px -12px rgba(46, 5, 19, 0.2);
    --shadow-gold: 0 8px 25px -4px rgba(201, 162, 75, 0.4);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.3s var(--ease);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--cream);
    color: var(--ink);
    font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--crimson);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--burgundy);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--burgundy-deep);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

.en {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.82em;
    font-weight: 500;
    color: var(--muted);
    display: block;
    letter-spacing: 0.02em;
    margin-top: 2px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Animations & Reveals (Safe: Content Visible by default, animates with JS)
   ========================================================================== */
.reveal-init [data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    will-change: opacity, transform;
}

.reveal-init [data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.08s !important; }
.stagger-2 { transition-delay: 0.16s !important; }
.stagger-3 { transition-delay: 0.24s !important; }
.stagger-4 { transition-delay: 0.32s !important; }

/* ==========================================================================
   Navbar (Luxury Floating Bar)
   ========================================================================== */
.site-header {
    background: var(--burgundy-darkest);
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.navbar .brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.navbar .brand img {
    height: 52px;
    width: 52px;
    border-radius: 50%;
    background: #FFFFFF;
    padding: 2px;
    border: 2px solid var(--gold);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    object-fit: cover;
    flex-shrink: 0;
}

.navbar .brand-text {
    display: flex;
    flex-direction: column;
}

.navbar .brand-title {
    font-size: 1.18rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}

.navbar .brand-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar nav a.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    transition: var(--transition);
}

.navbar nav a.nav-link .en {
    font-size: 0.7rem;
    color: var(--gold-light);
    opacity: 0.85;
    margin-top: 1px;
}

.navbar nav a.nav-link:hover,
.navbar nav a.nav-link.active {
    background: rgba(201, 162, 75, 0.15);
    color: var(--gold-light);
    border: 1px solid rgba(201, 162, 75, 0.3);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.burger {
    display: none;
    background: none;
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 1.3rem;
    cursor: pointer;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1.5px solid transparent;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad-gold);
    color: var(--burgundy-darkest) !important;
    font-weight: 800;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 12px 28px rgba(201, 162, 75, 0.55);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white) !important;
    border-color: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--burgundy-darkest) !important;
    transform: translateY(-2px);
}

.btn-crimson {
    background: var(--grad-crimson);
    color: var(--white) !important;
    box-shadow: 0 8px 20px rgba(162, 30, 76, 0.35);
}

.btn-crimson:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-sm {
    padding: 7px 18px;
    font-size: 0.85rem;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    background: rgba(201, 162, 75, 0.16);
    color: var(--gold-light);
    border: 1px solid rgba(201, 162, 75, 0.35);
}

.pill-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--gold);
    box-shadow: 0 0 8px var(--gold);
}

.tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
}

.tag-gold {
    background: rgba(201, 162, 75, 0.15);
    color: #9B721E;
    border: 1px solid rgba(201, 162, 75, 0.3);
}

.tag-plum {
    background: rgba(75, 42, 107, 0.1);
    color: var(--plum);
    border: 1px solid rgba(75, 42, 107, 0.2);
}

/* ==========================================================================
   Hero Section (Royal Burgundy & Gold Masterpiece)
   ========================================================================== */
.hero {
    background: var(--grad-hero);
    color: var(--white);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--gold);
}

.hero::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 162, 75, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.hero .inner {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    max-width: 620px;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero h1 .gold-text {
    background: var(--grad-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero h1 .en {
    font-size: 1.25rem;
    color: var(--gold-light);
    font-weight: 600;
    margin-top: 6px;
}

.hero p.lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Hero Stats Bar */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(201, 162, 75, 0.25);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--gold-light);
    font-family: 'Inter', sans-serif;
    line-height: 1.1;
    display: block;
}

.stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 4px;
    font-weight: 600;
}

/* Hero Emblem Showcase Card */
.hero-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-card {
    width: 100%;
    max-width: 400px;
    background: var(--grad-card-dark);
    border: 2px solid var(--gold);
    border-radius: var(--radius-xl);
    padding: 36px 30px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(201, 162, 75, 0.08);
    position: relative;
}

.showcase-logo-wrap {
    width: 150px;
    height: 150px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(201, 162, 75, 0.2);
}

.showcase-logo-wrap img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.showcase-card h3 {
    color: var(--white);
    font-size: 1.35rem;
    margin-bottom: 6px;
}

.showcase-card p {
    color: var(--gold-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: right;
    border-top: 1px solid rgba(201, 162, 75, 0.2);
    padding-top: 18px;
}

.showcase-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.85);
}

.showcase-feature-item span.icon {
    color: var(--gold);
    font-size: 1.1rem;
}

/* ==========================================================================
   Section Layout & Headers
   ========================================================================== */
.section {
    padding: 80px 0;
    position: relative;
}

.section-alt {
    background: #F4E8ED;
    border-top: 1px solid rgba(162, 30, 76, 0.1);
    border-bottom: 1px solid rgba(162, 30, 76, 0.1);
}

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

.section-header.text-center {
    text-align: center;
    justify-content: center;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--burgundy-deep);
    margin-bottom: 6px;
}

.section-header h2 .en {
    font-size: 1rem;
    color: var(--crimson);
}

.section-header p.subtitle {
    font-size: 1rem;
    color: var(--muted);
    margin: 0;
    max-width: 650px;
}

/* ==========================================================================
   Features / Value Grid
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-box {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid var(--gold);
}

.feature-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.feature-icon-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--grad-burgundy);
    color: var(--gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    box-shadow: 0 6px 14px rgba(74, 11, 34, 0.2);
}

.feature-box h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--burgundy-deep);
}

.feature-box p {
    font-size: 0.92rem;
    color: var(--ink-light);
    line-height: 1.6;
}

/* ==========================================================================
   Course Cards
   ========================================================================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 28px;
}

.course-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.course-card-top {
    background: var(--grad-card-dark);
    color: var(--white);
    padding: 24px;
    position: relative;
    border-bottom: 3px solid var(--gold);
}

.course-card-top .top-badges {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.course-card-top h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin: 0;
    line-height: 1.35;
}

.course-card-top h3 .en {
    color: var(--gold-light);
    font-size: 0.85rem;
    margin-top: 4px;
}

.course-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--ink-light);
}

.course-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(162, 30, 76, 0.1);
}

.course-price-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--burgundy-deep);
    font-family: 'Inter', sans-serif;
}

/* ==========================================================================
   Podcast Studio Spotlight
   ========================================================================== */
.podcast-banner {
    background: var(--grad-card-dark);
    color: var(--white);
    border: 2px solid var(--gold);
    border-radius: var(--radius-xl);
    padding: 45px 40px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.podcast-banner h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.soundwave-box {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 32px;
    margin: 18px 0;
}

.soundwave-bar {
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 4px;
    animation: wave 1.2s ease-in-out infinite alternate;
}

.soundwave-bar:nth-child(2) { animation-delay: 0.15s; height: 16px; }
.soundwave-bar:nth-child(3) { animation-delay: 0.3s; height: 28px; }
.soundwave-bar:nth-child(4) { animation-delay: 0.45s; height: 20px; }
.soundwave-bar:nth-child(5) { animation-delay: 0.2s; height: 32px; }
.soundwave-bar:nth-child(6) { animation-delay: 0.35s; height: 14px; }

@keyframes wave {
    0% { height: 6px; }
    100% { height: 30px; }
}

.platform-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ==========================================================================
   Team Circular Cards (Matching Official Brand Visual Identity)
   ========================================================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.team-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.team-avatar-wrap {
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
    border-radius: 50%;
    border: 3px solid var(--gold);
    overflow: hidden;
    background: var(--cream);
    box-shadow: 0 8px 18px rgba(74, 11, 34, 0.15);
}

.team-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    font-size: 1.15rem;
    color: var(--burgundy-deep);
    margin-bottom: 4px;
}

.team-card .role {
    font-size: 0.85rem;
    color: var(--muted);
    font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: #1C030C;
    color: rgba(255, 255, 255, 0.8);
    padding: 70px 0 25px;
    border-top: 3px solid var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 45px;
}

.footer-brand img {
    height: 62px;
    width: 62px;
    border-radius: 50%;
    background: #FFFFFF;
    padding: 3px;
    border: 2px solid var(--gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 16px;
    object-fit: cover;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 28px;
    height: 2px;
    background: var(--gold);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 12px;
}

/* Form Cards */
.form-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--burgundy-deep);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid rgba(162, 30, 76, 0.2);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--crimson);
    box-shadow: 0 0 0 3px rgba(162, 30, 76, 0.1);
}

.alert {
    padding: 12px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
    font-weight: 600;
}

.alert-success { background: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7; }
.alert-error { background: #FFEBEE; color: #C62828; border: 1px solid #FFCDD2; }

/* Responsive */
@media (max-width: 900px) {
    .hero .inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--burgundy-darkest);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid var(--gold);
    }
    .navbar nav.open {
        display: flex;
    }
    .burger {
        display: block;
    }
    .hero h1 {
        font-size: 2.3rem;
    }
}

/* ==========================================================================
   Admin Dashboard & Management Styles
   ========================================================================== */
.admin-wrap {
    display: flex;
    min-height: 100vh;
    background: #FDFBF7;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    color: #2E0513;
}

.admin-sidebar {
    width: 280px;
    background: linear-gradient(180deg, #2E0513 0%, #1A030B 100%);
    color: #FFFFFF;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    border-left: 1px solid rgba(201, 162, 75, 0.25);
    box-shadow: 2px 0 16px rgba(0, 0, 0, 0.15);
    z-index: 100;
}

.admin-sidebar-brand {
    padding: 22px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(201, 162, 75, 0.2);
    background: rgba(0, 0, 0, 0.18);
}

.admin-sidebar-logo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #FFFFFF;
    padding: 2px;
    border: 2px solid #C9A24B;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    flex-shrink: 0;
}

.admin-sidebar-brand-text {
    display: flex;
    flex-direction: column;
}

.admin-sidebar-title {
    font-size: 1.02rem;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.25;
}

.admin-sidebar-badge {
    font-size: 0.75rem;
    color: #F1D792;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.04em;
    font-weight: 600;
    margin-top: 2px;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    padding: 16px 12px;
    gap: 6px;
    flex: 1;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 600;
    border-radius: 10px;
    border-right: 4px solid transparent;
    transition: all 0.2s ease;
}

.admin-sidebar a:hover {
    background: rgba(162, 30, 76, 0.35);
    color: #FFFFFF;
    border-right-color: #C9A24B;
    transform: translateX(-3px);
}

.admin-sidebar a.active {
    background: linear-gradient(90deg, rgba(162, 30, 76, 0.6) 0%, rgba(74, 11, 34, 0.9) 100%);
    color: #FFFFFF;
    border-right-color: #C9A24B;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.admin-sidebar .sidebar-footer {
    padding: 14px;
    border-top: 1px solid rgba(201, 162, 75, 0.15);
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: rgba(0, 0, 0, 0.15);
}

.admin-sidebar .sidebar-footer a {
    font-size: 0.88rem;
    padding: 10px 14px;
}

.admin-main {
    flex: 1;
    padding: 30px 40px;
    overflow-y: auto;
    background: #FDFBF7;
    min-width: 0;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FFFFFF;
    padding: 18px 24px;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    margin-bottom: 28px;
    border: 1px solid rgba(162, 30, 76, 0.08);
}

.admin-topbar h2 {
    margin: 0;
    font-size: 1.35rem;
    color: #4A0B22;
    font-weight: 800;
}

.admin-user-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(201, 162, 75, 0.12);
    border: 1px solid rgba(201, 162, 75, 0.35);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #4A0B22;
}

.stat-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}

.stat-box {
    background: #FFFFFF;
    padding: 22px;
    border-radius: 14px;
    border: 1px solid rgba(162, 30, 76, 0.1);
    border-top: 4px solid #C9A24B;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.stat-box strong {
    font-size: 2.3rem;
    font-weight: 800;
    color: #4A0B22;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.stat-box .stat-label {
    font-size: 0.92rem;
    color: #6E5A63;
    font-weight: 600;
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(162, 30, 76, 0.1);
    margin: 16px 0 28px;
}

.admin-table th {
    background: #4A0B22;
    color: #FFFFFF;
    padding: 14px 18px;
    text-align: right;
    font-weight: 700;
    font-size: 0.92rem;
}

.admin-table td {
    padding: 13px 18px;
    border-bottom: 1px solid rgba(162, 30, 76, 0.08);
    font-size: 0.92rem;
    color: #2E0513;
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: rgba(201, 162, 75, 0.04);
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

.admin-badge-success { background: #E6F4EA; color: #137333; }
.admin-badge-warning { background: #FEF7E0; color: #B06000; }
.admin-badge-info { background: #E8F0FE; color: #1A73E8; }

.form-card {
    background: #FFFFFF;
    border: 1px solid rgba(162, 30, 76, 0.12);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    color: #4A0B22;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(162, 30, 76, 0.18);
    border-radius: 10px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #FFFFFF;
    color: #2E0513;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #BD235A;
    box-shadow: 0 0 0 4px rgba(189, 35, 90, 0.12);
}

@media (max-width: 900px) {
    .admin-wrap {
        flex-direction: column;
    }
    .admin-sidebar {
        width: 100%;
    }
    .admin-main {
        padding: 20px;
    }
}

/* ===== Payments: InstaPay box, receipt status badges ===== */
.btn-gold { background: var(--gold); color: #2E0513 !important; border: 0; }
.btn-gold:hover { background: var(--gold-light); }
.pay-box { background: #FFF9EC; border: 1px dashed var(--gold); border-radius: 14px; padding: 16px; margin-bottom: 18px; font-size: 0.92rem; line-height: 1.7; }
.pay-step { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #2E0513; align-items: center; justify-content: center; font-size: 0.8rem; margin-left: 6px; }
.pay-note { margin: 8px 0 0; color: #6E5A63; font-size: 0.85rem; }
.pay-badge { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.pay-pending { background: #FFF3CD; color: #856404; }
.pay-verified { background: #D4EDDA; color: #155724; }
.pay-rejected { background: #F8D7DA; color: #721C24; }
.pay-none { background: #EEE; color: #555; }

/* ===== Cover images, featured strip, "see more" ===== */
.card-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #F3E6EC; }
.featured-section { padding-bottom: 20px; }
.featured-card { border: 2px solid var(--gold); }
.see-more-text { display: -webkit-box; -webkit-line-clamp: var(--lines, 3); -webkit-box-orient: vertical; overflow: hidden; line-height: 1.7; }
.see-more.open .see-more-text { display: block; -webkit-line-clamp: unset; overflow: visible; }
.see-more-btn { background: none; border: 0; padding: 4px 0 0; color: var(--crimson, #A21E4C); font-weight: 700; cursor: pointer; font: inherit; font-weight: 700; font-size: 0.85rem; }
.see-more-btn:hover { text-decoration: underline; }

/* ===== Promo codes ===== */
.promo-row { display: flex; gap: 8px; margin-bottom: 6px; }
.promo-row input { flex: 1; padding: 8px 12px; border-radius: 10px; border: 1.5px solid rgba(162,30,76,0.25); text-transform: uppercase; }
.promo-msg { font-size: 0.85rem; min-height: 1.2em; margin-bottom: 10px; }
.promo-msg.ok { color: #155724; font-weight: 700; }
.promo-msg.err { color: #C62828; }
/* ===== Group bookings ===== */
.group-offer { margin-top: 8px; font-size: 0.9rem; color: #155724; background: #E8F5E9; border-radius: 10px; padding: 6px 10px; display: inline-block; }
.booking-toggle { display: grid; gap: 8px; margin-bottom: 14px; }
.booking-toggle label { display: flex; gap: 8px; align-items: center; border: 1.5px solid rgba(162,30,76,0.2); border-radius: 12px; padding: 10px 12px; cursor: pointer; font-weight: 700; font-size: 0.92rem; }
.booking-toggle label:has(input:checked) { border-color: var(--gold); background: #FFF9EC; }
.booking-toggle input { width: auto; margin: 0; }
.member-title { font-weight: 800; color: var(--burgundy-deep); margin: 4px 0 8px; display: flex; justify-content: space-between; align-items: center; }
.member-row { border: 1px dashed rgba(162,30,76,0.25); border-radius: 12px; padding: 12px; margin-bottom: 12px; display: grid; gap: 8px; }
.member-row input { width: 100%; padding: 9px 12px; border-radius: 10px; border: 1.5px solid rgba(162,30,76,0.2); }
.member-remove { background: none; border: 0; color: var(--crimson, #A21E4C); cursor: pointer; font-size: 1rem; }
.group-total { background: #FFF9EC; border: 1px solid var(--gold); border-radius: 12px; padding: 10px 12px; margin-bottom: 14px; line-height: 1.7; }
.group-total .save { color: #155724; font-weight: 700; }
.group-badge { display: inline-block; background: #EDE3F6; color: #4B2A6B; border-radius: 50px; padding: 2px 8px; font-size: 0.72rem; font-weight: 700; }
/* ===== Open / close registration switch ===== */
.reg-switch { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 50px; padding: 4px 12px 4px 4px; font: inherit; font-size: 0.82rem; font-weight: 700; cursor: pointer; }
.reg-switch .knob { width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.reg-switch.on { background: #D4EDDA; color: #155724; }
.reg-switch.off { background: #F8D7DA; color: #721C24; }
.reg-closed-tag { display: inline-block; background: #F8D7DA; color: #721C24; border-radius: 50px; padding: 3px 10px; font-size: 0.78rem; font-weight: 700; }