/* ============================================
   Sistema Mujeres Trascendentes
   Estilos Globales
   ============================================ */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,700;1,500&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    /* Primary palette — Colores extraídos exactamente del flyer oficial */
    --brand-fuchsia:       #D9017C;  /* Fucsia vibrante oficial de Conectadas y círculos de semanas */
    --brand-fuchsia-light: #FCEBF1;  /* Rosa pastel suave de fondos */
    --brand-fuchsia-hover: #F0128B;  /* Fucsia brillante hover */
    --brand-wine:          #580B2D;  /* Vinotinto / Borgoña profundo de FORMACIÓN y títulos */
    --brand-wine-dark:     #38051C;  /* Vinotinto ultra profundo para fondos y sidebar */
    --brand-wine-black:    #200210;  /* Fondo oscuro del sidebar */
    --brand-blush:         #FDF7F7;  /* Crema rosado suave del fondo de página */
    --brand-card-bg:       #FFF5F8;  /* Fondo de tarjetas de semanas */
    --brand-border:        #F5D2DD;  /* Borde rosado del flyer */

    /* Variables del sistema mapeadas a la marca */
    --purple-50:  #FFF5F8;
    --purple-100: #FDECF2;
    --purple-200: #FCE0EA;
    --purple-300: #F8B4D4;
    --purple-400: #F06292;
    --purple-500: #E5007D;
    --purple-600: #D9017C;         /* Fucsia oficial del programa */
    --purple-700: #C70E7F;
    --purple-800: #8C0B46;
    --purple-900: #580B2D;         /* Vinotinto oficial de FORMACIÓN */

    /* Gold accent */
    --gold-300: #FCD34D;
    --gold-400: #FBBF24;
    --gold-500: #F59E0B;
    --gold-600: #D97706;
    --gold-700: #B45309;

    /* Rose accent */
    --rose-300: #FDA4AF;
    --rose-400: #FB7185;
    --rose-500: #F43F5E;
    --rose-600: #E11D48;

    /* Neutrals */
    --gray-50:  #FAFAFA;
    --gray-100: #F4F4F5;
    --gray-200: #E4E4E7;
    --gray-300: #D4D4D8;
    --gray-400: #A1A1AA;
    --gray-500: #71717A;
    --gray-600: #52525B;
    --gray-700: #3F3F46;
    --gray-800: #27272A;
    --gray-900: #18181B;

    /* Semantic */
    --success: #10B981;
    --warning: #F59E0B;
    --danger:  #EF4444;
    --info:    #3B82F6;

    /* Layout */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:  0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --shadow-lg:  0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
    --shadow-xl:  0 20px 25px rgba(0,0,0,.1), 0 8px 10px rgba(0,0,0,.04);
    --shadow-glow: 0 0 40px rgba(217,1,124,.22);

    --transition: .25s cubic-bezier(.4,0,.2,1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-50);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    line-height: 1.2;
    color: var(--gray-900);
}

a { color: var(--purple-700); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--purple-500); }

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

/* ---------- Public Background ---------- */
.bg-gradient {
    min-height: 100vh;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(217,1,124,.10) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(245,158,11,.08) 0%, transparent 60%),
        linear-gradient(165deg, #FDF7F7 0%, #FFFFFF 45%, #FFF5F8 100%);
}

/* ---------- Glass Card ---------- */
.glass-card {
    background: rgba(255,255,255,.90);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(88,11,45,.06), 0 0 40px rgba(217,1,124,.08);
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 600px) {
    .container {
        padding: 0 16px;
    }
}

@media (max-width: 380px) {
    .container {
        padding: 0 12px;
    }
}

.container-sm { max-width: 560px; }
.container-md { max-width: 780px; }
.container-lg { max-width: 1040px; }
.container-xl { max-width: 1220px; }

/* ---------- Split Layout (Todo en una página) ---------- */
.split-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 24px 0;
    width: 100%;
}

.split-layout {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 36px;
    align-items: center;
    width: 100%;
}

.hero-presentation {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 8px;
    width: 100%;
}

.hero-brand-top {
    display: block;
    margin-bottom: 14px;
}

.hero-logo {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(217, 1, 124, 0.12));
    transition: transform var(--transition);
    display: block;
}

.hero-logo:hover {
    transform: scale(1.02);
}

.hero-presentation .title-prefix {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(0.9rem, 2.5vw, 1.05rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #580B2D;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.2;
}

.hero-presentation .hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.85rem, 4vw, 2.7rem);
    color: #580B2D;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0;
    line-height: 1.05;
}

.hero-presentation .title-script {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.1rem, 5vw, 3.2rem);
    color: #D9017C;
    line-height: 1.1;
    margin-top: -4px;
    margin-bottom: 8px;
    font-weight: normal;
    text-shadow: 0 2px 10px rgba(217,1,124,.15);
}

.hero-presentation .tagline-pill {
    display: inline-block;
    max-width: 100%;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #8C0B46;
    background: #FDECF2;
    border: 1px solid #F5D2DD;
    padding: 3px 14px;
    border-radius: 9999px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.hero-presentation .program-pills.compact {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 6px 0 12px;
}

.hero-presentation .program-pills.compact .program-pill-item {
    padding: 5px 12px;
    font-size: 12px;
    background: #FFF5F8;
    border: 1px solid #F5D2DD;
    border-radius: 9999px;
}

.hero-surprise-box {
    margin: 14px 0 18px;
    max-width: 480px;
    width: 100%;
}

.hero-description {
    font-size: 14.5px;
    color: #6D2545;
    line-height: 1.65;
    margin-bottom: 12px;
}

.hero-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFF5F8;
    border: 1.5px solid #F5D2DD;
    padding: 8px 18px;
    border-radius: 9999px;
    font-size: 12.5px;
    color: #8C0B46;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(217, 1, 124, 0.08);
}

.hero-slogan {
    margin-top: 4px;
}

.hero-slogan .slogan-script {
    font-family: 'Great Vibes', cursive;
    font-size: 1.55rem;
    color: #D9017C;
    line-height: 1.15;
    display: block;
}

.hero-slogan .slogan-bold {
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    color: #580B2D;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Form Action Card & 2-Col Rows */
.form-action-card {
    padding: 26px 28px;
    box-shadow: 0 12px 35px rgba(88,11,45,.08), 0 0 35px rgba(217,1,124,.08);
    position: relative;
    border-radius: var(--radius-lg);
    width: 100%;
    box-sizing: border-box;
}

.card-tag {
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #8C0B46;
    margin-bottom: 3px;
}

.card-heading {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    color: #580B2D;
    margin-bottom: 2px;
    font-weight: 700;
    line-height: 1.2;
}

.card-subheading {
    font-size: 12.5px;
    color: #7A3353;
    margin-bottom: 16px;
    line-height: 1.35;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-action-card .form-group {
    margin-bottom: 16px;
}

.form-action-card .form-group label {
    font-size: 12.5px;
    font-weight: 700;
    color: #580B2D;
    margin-bottom: 6px;
    letter-spacing: .25px;
}

.form-action-card .form-control {
    height: 44px;
    padding: 0 14px;
    font-size: 14px;
    border-radius: 10px;
    border: 1.5px solid #F5D2DD;
    background: #FFFFFF;
    color: #38051C;
    box-sizing: border-box;
}

.form-action-card .btn-lg {
    height: 48px;
    padding: 0 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 10px;
}

/* ---------- In-Place Dynamic Confirmation ---------- */
.conf-container {
    text-align: center;
    animation: fadeInUp .4s ease;
}

.conf-check-circle {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #059669, #10B981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 6px 18px rgba(16,185,129,.35);
    animation: scaleIn .4s cubic-bezier(.34,1.56,.64,1) both;
}

.conf-check-circle svg {
    width: 32px;
    height: 32px;
    color: #fff;
}

.conf-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    color: #580B2D;
    margin-bottom: 2px;
    font-weight: 700;
}

.conf-name {
    font-size: 1.15rem;
    color: #D9017C;
    font-weight: 700;
    margin-bottom: 12px;
}

.conf-zone-box {
    background: #FFF5F8;
    border: 1.5px solid #F5D2DD;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    margin-bottom: 16px;
    text-align: left;
}

.conf-zone-box .conf-zone-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #580B2D;
    margin-bottom: 4px;
}

.conf-zone-box .conf-zone-item:last-child {
    margin-bottom: 0;
}

.conf-zone-box strong {
    color: #8C0B46;
}

.conf-steps-mini {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 14px 0 16px;
    text-align: left;
}

.conf-step-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #FDF7F7;
    border: 1px solid #F5D2DD;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 12.5px;
    color: #580B2D;
}

.conf-step-num {
    width: 20px;
    height: 20px;
    min-width: 20px;
    background: #D9017C;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    margin-top: 1px;
}

.conf-whatsapp-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
}

.conf-whatsapp-btns .btn {
    padding: 12px 20px;
    font-size: 14px;
    border-radius: var(--radius-sm);
}

/* ===================================================
   RESPONSIVE MEDIA QUERIES (Tablets & Mobile)
   =================================================== */

/* Tablets & Small Laptops (<= 980px) */
@media (max-width: 980px) {
    .split-page-wrapper {
        align-items: flex-start;
        padding: 24px 0 36px;
    }

    .split-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-presentation {
        align-items: center;
        text-align: center;
        padding-right: 0;
        margin-bottom: 6px;
    }

    .hero-brand-top {
        display: flex;
        justify-content: center;
        text-align: center;
        margin-bottom: 12px;
    }

    .hero-logo {
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-presentation .title-prefix,
    .hero-presentation .hero-title,
    .hero-presentation .title-script {
        text-align: center;
    }

    .hero-presentation .tagline-pill {
        margin: 0 auto 10px;
    }

    .hero-presentation .program-pills.compact {
        justify-content: center;
        margin: 8px 0 14px;
    }

    .hero-surprise-box {
        margin: 12px auto 16px;
        text-align: center;
        max-width: 520px;
    }

    .hero-description {
        text-align: center;
    }

    .hero-highlight-pill {
        margin: 0 auto;
    }

    .hero-slogan {
        text-align: center;
        margin: 8px auto 0;
    }

    .form-action-card {
        max-width: 540px;
        margin: 0 auto;
    }
}

/* Intermediate Mobile & Phablets (<= 768px) */
@media (max-width: 768px) {
    /* Prevents iOS Safari 16px auto-zoom on input focus */
    .form-action-card .form-control {
        font-size: 16px;
        padding: 10px 14px;
        min-height: 44px;
    }

    .form-action-card .form-group label {
        font-size: 13px;
    }

    .form-action-card .btn-lg {
        font-size: 16px;
        padding: 14px 20px;
        min-height: 48px;
    }
}

/* Phones (<= 600px) */
@media (max-width: 600px) {
    .split-page-wrapper {
        padding: 14px 0 28px;
    }

    .split-layout {
        gap: 20px;
    }

    .hero-logo {
        max-width: 260px;
    }

    .hero-presentation .title-prefix {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .hero-presentation .hero-title {
        font-size: clamp(1.7rem, 6.5vw, 2.1rem);
        letter-spacing: 1.5px;
    }

    .hero-presentation .title-script {
        font-size: clamp(1.9rem, 7.5vw, 2.5rem);
        margin-bottom: 6px;
    }

    .hero-presentation .tagline-pill {
        font-size: 8px;
        letter-spacing: 1px;
        padding: 3px 8px;
        white-space: normal;
        text-align: center;
        line-height: 1.35;
        max-width: 100%;
        display: inline-block;
    }

    .hero-presentation .program-pills.compact {
        gap: 6px;
        margin: 6px 0 10px;
    }

    .hero-presentation .program-pills.compact .program-pill-item {
        font-size: 11.5px;
        padding: 4px 10px;
    }

    .hero-surprise-box {
        margin: 8px auto 12px;
    }

    .hero-description {
        font-size: 13.5px;
        line-height: 1.55;
        margin-bottom: 8px;
    }

    .hero-highlight-pill {
        font-size: 11px;
        padding: 6px 12px;
        white-space: normal;
        text-align: center;
        line-height: 1.35;
    }

    .hero-slogan .slogan-script {
        font-size: 1.35rem;
    }

    .hero-slogan .slogan-bold {
        font-size: 0.85rem;
    }

    .form-action-card {
        padding: 20px 16px;
        border-radius: var(--radius-md);
        box-shadow: 0 8px 24px rgba(88,11,45,.08);
    }

    .card-tag {
        font-size: 8.5px;
        letter-spacing: 1.2px;
    }

    .card-heading {
        font-size: 1.25rem;
    }

    .card-subheading {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .form-action-card .form-group {
        margin-bottom: 12px;
    }

    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Confirmation Box on Mobile */
    .conf-check-circle {
        width: 52px;
        height: 52px;
        margin-bottom: 10px;
    }

    .conf-check-circle svg {
        width: 26px;
        height: 26px;
    }

    .conf-title {
        font-size: 1.25rem;
    }

    .conf-name {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .conf-zone-box {
        padding: 10px 12px;
        margin-bottom: 12px;
    }

    .conf-zone-box .conf-zone-item {
        font-size: 12.5px;
    }

    .conf-steps-mini {
        margin: 10px 0 12px;
        gap: 6px;
    }

    .conf-step-item {
        padding: 8px 10px;
        font-size: 12px;
    }

    .conf-whatsapp-btns {
        gap: 8px;
        margin-top: 12px;
    }

    .conf-whatsapp-btns .btn {
        padding: 12px 14px;
        font-size: 13px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }
}

/* Extra Small Phones (<= 360px - iPhone SE 1st gen, Galaxy A / Fold cover) */
@media (max-width: 360px) {
    .hero-logo {
        max-width: 215px;
    }

    .hero-presentation .hero-title {
        font-size: 1.55rem;
    }

    .hero-presentation .title-script {
        font-size: 1.75rem;
    }

    .form-action-card {
        padding: 16px 12px;
    }

    .program-pills.compact .program-pill-item {
        font-size: 10.5px;
        padding: 3px 8px;
    }
}

/* ---------- Header / Brand ---------- */
.brand-header {
    text-align: center;
    padding: 36px 20px 24px;
}

.brand-header .brand-logo {
    max-height: 95px;
    width: auto;
    margin: 0 auto 16px;
    display: block;
    filter: drop-shadow(0 4px 14px rgba(217, 1, 124, 0.16));
}

.brand-header .brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FDECF2;
    color: #8C0B46;
    border: 1px solid #F5D2DD;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.brand-header .brand-badge .dot {
    width: 6px; height: 6px;
    background: #D9017C;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.4); }
}

.brand-header .title-prefix {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(.95rem, 2.5vw, 1.2rem);
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #580B2D;
    font-weight: 600;
    margin-bottom: 2px;
}

.brand-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    color: #580B2D;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0;
    line-height: 1.1;
}

.brand-header .title-script {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.3rem, 6.5vw, 3.4rem);
    color: #D9017C;
    line-height: 1.15;
    margin-top: -6px;
    margin-bottom: 10px;
    font-weight: normal;
    text-shadow: 0 2px 10px rgba(217,1,124,.15);
}

.brand-header .tagline-pill {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8C0B46;
    background: #FDECF2;
    border: 1px solid #F5D2DD;
    padding: 4px 16px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.brand-header .subtitle {
    font-size: clamp(.9rem, 2vw, 1.05rem);
    color: #7A3353;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
}

/* Feature pills matching flyer */
.program-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 18px 0 24px;
}

.program-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #FFF5F8;
    border: 1px solid #F5D2DD;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 12.5px;
    color: #580B2D;
    font-weight: 500;
}

.program-pill-item strong {
    color: #D9017C;
}

/* ---------- Form Styles (Open Design Brand System) ---------- */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 12.5px;
    color: #580B2D;
    margin-bottom: 6px;
    letter-spacing: .25px;
}

.form-group label .required {
    color: #E11D48;
    margin-left: 3px;
    font-weight: 700;
}

.form-control {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #38051C;
    background: #FFFFFF;
    border: 1.5px solid #F5D2DD;
    border-radius: 10px;
    transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
    outline: none;
    box-sizing: border-box;
    display: block;
    line-height: normal;
}

.form-control:hover {
    border-color: #F8B4D4;
}

.form-control:focus {
    border-color: #D9017C;
    box-shadow: 0 0 0 3.5px rgba(217, 1, 124, 0.14);
    background: #FFFFFF;
}

.form-control::placeholder {
    color: #A37081;
    opacity: 0.8;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #FFFFFF;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238C0B46' d='M6 8.825a.5.5 0 0 1-.354-.146l-4-4a.5.5 0 0 1 .708-.708L6 7.617l3.646-3.646a.5.5 0 1 1 .708.708l-4 4A.5.5 0 0 1 6 8.825z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
}

textarea.form-control {
    height: auto;
    min-height: 100px;
    padding: 12px 14px;
    line-height: 1.5;
    resize: vertical;
}

input[type="file"].form-control {
    height: auto;
    padding: 10px 14px;
    line-height: 1.4;
    cursor: pointer;
}

.form-hint {
    font-size: 11.5px;
    color: #8C5268;
    margin-top: 5px;
    line-height: 1.35;
}

.form-error {
    font-size: 12px;
    color: #E11D48;
    margin-top: 5px;
    font-weight: 600;
    display: none;
}

.form-group.has-error .form-control {
    border-color: #E11D48;
    box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}

.form-group.has-error .form-error {
    display: block;
}

/* ---------- Buttons (Open Design Touch Standards) ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 24px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
}

.btn:active { transform: scale(.97); }

.btn-primary {
    background: linear-gradient(135deg, #D9017C 0%, #A3005D 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(217,1,124,.32);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #F0128B 0%, #C70E7F 100%);
    box-shadow: 0 6px 22px rgba(217,1,124,.45);
    transform: translateY(-1px);
    color: #fff;
}

.btn-secondary {
    background: #FFFFFF;
    color: #580B2D;
    border: 1.5px solid #F5D2DD;
    box-shadow: 0 1px 3px rgba(88, 11, 45, 0.04);
}

.btn-secondary:hover {
    background: #FFF5F8;
    color: #D9017C;
    border-color: #F8B4D4;
}

.btn-success {
    background: linear-gradient(135deg, #059669, #10B981);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16,185,129,.3);
}

.btn-success:hover {
    box-shadow: 0 6px 20px rgba(16,185,129,.4);
    transform: translateY(-1px);
    color: #fff;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #128C7E, #25D366);
    color: #fff;
    box-shadow: 0 4px 14px rgba(37,211,102,.3);
    font-size: 14.5px;
    height: 48px;
    padding: 0 28px;
}

.btn-whatsapp:hover {
    box-shadow: 0 6px 20px rgba(37,211,102,.4);
    transform: translateY(-2px);
    color: #fff;
}

.btn-danger {
    background: var(--danger);
    color: #fff;
}

.btn-danger:hover { background: #DC2626; color: #fff; }

.btn-gold {
    background: linear-gradient(135deg, var(--gold-500), var(--gold-600));
    color: #fff;
    box-shadow: 0 4px 14px rgba(245,158,11,.3);
}

.btn-gold:hover {
    box-shadow: 0 6px 20px rgba(245,158,11,.4);
    transform: translateY(-1px);
    color: #fff;
}

.btn-sm {
    height: 34px;
    padding: 0 14px;
    font-size: 12.5px;
    border-radius: 9999px;
}

.btn-lg {
    height: 48px;
    padding: 0 32px;
    font-size: 15px;
    border-radius: 12px;
}

.btn-block { width: 100%; }
.btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 10px; }

.btn:disabled, .btn.loading {
    opacity: .6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Alerts ---------- */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}

.alert-success {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}

.alert-danger {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
}

.alert-warning {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    color: #92400E;
}

.alert-info {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1E40AF;
}

/* ---------- Welcome Page ---------- */
.welcome-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 24px;
    animation: fadeInUp .6s ease;
}

.welcome-card {
    padding: 40px 32px;
    text-align: center;
}

.welcome-card .check-circle {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #059669, #10B981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: scaleIn .5s cubic-bezier(.34,1.56,.64,1) .2s both;
}

.welcome-card .check-circle svg {
    width: 36px; height: 36px;
    color: #fff;
}

.welcome-card h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--purple-800);
}

.welcome-card .welcome-name {
    font-size: 1.1rem;
    color: var(--purple-600);
    font-weight: 600;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.welcome-card .welcome-msg {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 28px;
    white-space: pre-line;
}

.step-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 28px 0;
    text-align: left;
}

.step-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--purple-50);
    border-radius: var(--radius-sm);
    border: 1px solid var(--purple-100);
    transition: all var(--transition);
}

.step-card:hover {
    border-color: var(--purple-300);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.step-card .step-num {
    width: 32px; height: 32px;
    min-width: 32px;
    background: linear-gradient(135deg, var(--purple-700), var(--purple-800));
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

.step-card .step-text {
    font-size: 14px;
    color: var(--gray-700);
}

.step-card .step-text strong {
    color: var(--purple-800);
}

.whatsapp-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 24px 0;
}

/* ---------- Admin Layout ---------- */
.admin-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.admin-sidebar {
    width: 270px;
    background: #FFFFFF;
    color: #580B2D;
    padding: 0;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    overflow-y: auto;
    z-index: 100;
    transition: transform var(--transition);
    border-right: 1.5px solid #F5D2DD;
    box-shadow: 4px 0 24px rgba(88, 11, 45, 0.04);
    display: flex;
    flex-direction: column;
}

.admin-sidebar .sidebar-brand {
    padding: 22px 18px 18px;
    border-bottom: 1.5px solid #F5D2DD;
    background: linear-gradient(180deg, #FFF5F8 0%, #FFFFFF 100%);
    text-align: center;
    position: relative;
}

.sidebar-close-btn {
    display: none;
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #F5D2DD;
    background: #FFF5F8;
    color: #8C0B46;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}

.sidebar-close-btn:hover {
    background: #FCE0EA;
    color: #D9017C;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(88, 11, 45, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.admin-sidebar .sidebar-brand img {
    max-height: 44px;
    width: auto;
    margin: 0 auto 8px;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(217, 1, 124, 0.12));
}

.admin-sidebar .sidebar-brand .sidebar-badge {
    font-size: 9.5px;
    color: #8C0B46;
    background: #FDECF2;
    padding: 4px 12px;
    border-radius: 9999px;
    border: 1px solid #F5D2DD;
    letter-spacing: 1.2px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-sidebar .sidebar-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
    display: inline-block;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
    animation: pulse-dot 2s ease-in-out infinite;
}

.admin-sidebar nav {
    padding: 14px 10px;
    flex: 1;
}

.admin-sidebar .sidebar-section {
    font-size: 10px;
    font-weight: 800;
    color: #8C0B46;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 16px 14px 6px;
    opacity: 0.85;
}

.admin-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 14px;
    margin: 3px 6px;
    color: #580B2D;
    font-size: 13.5px;
    font-weight: 600;
    border-radius: 10px;
    transition: all var(--transition);
    position: relative;
}

.admin-sidebar nav a:hover {
    color: #D9017C;
    background: #FDECF2;
    transform: translateX(3px);
}

.admin-sidebar nav a.active {
    color: #FFFFFF;
    background: linear-gradient(135deg, #D9017C 0%, #B80068 100%);
    box-shadow: 0 4px 14px rgba(217, 1, 124, 0.32);
}

.admin-sidebar nav a svg {
    width: 18px;
    height: 18px;
    opacity: 0.85;
    color: #8C0B46;
    flex-shrink: 0;
    transition: all var(--transition);
}

.admin-sidebar nav a:hover svg {
    color: #D9017C;
    opacity: 1;
}

.admin-sidebar nav a.active svg {
    opacity: 1;
    color: #FFFFFF;
}

/* Sidebar Profile Footer */
.sidebar-profile-card {
    padding: 14px 16px;
    margin: 12px;
    background: #FFF5F8;
    border: 1.5px solid #F5D2DD;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-profile-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D9017C, #FF69B4);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(217, 1, 124, 0.2);
}

.sidebar-profile-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #38051C;
    line-height: 1.2;
}

.sidebar-profile-role {
    font-size: 10.5px;
    color: #8C0B46;
    font-weight: 500;
}

.sidebar-logout-btn {
    color: #8C0B46;
    padding: 6px;
    border-radius: 8px;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-logout-btn:hover {
    color: #E11D48;
    background: #FFE4E6;
    transform: scale(1.05);
}

/* Main Area */
.admin-main {
    margin-left: 270px;
    width: calc(100% - 270px);
    max-width: calc(100% - 270px);
    min-width: 0;
    flex: 1 1 calc(100% - 270px);
    box-sizing: border-box;
    padding: 24px 30px;
    background:
        radial-gradient(ellipse at 15% 10%, rgba(217,1,124,.06) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 90%, rgba(245,158,11,.05) 0%, transparent 60%),
        linear-gradient(165deg, #FDF7F7 0%, #FFFFFF 50%, #FFF5F8 100%);
    min-height: 100vh;
}

/* Topbar */
.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1.5px solid #F5D2DD;
    gap: 16px;
    flex-wrap: wrap;
}

.admin-topbar > div:first-child {
    flex: 1 1 300px;
    min-width: 240px;
}

.admin-topbar .topbar-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.admin-breadcrumbs {
    font-size: 11.5px;
    color: #8C0B46;
    font-weight: 600;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.admin-topbar h1 {
    font-size: 1.7rem;
    color: #580B2D;
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    letter-spacing: .5px;
    margin: 0;
    line-height: 1.15;
}

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

.topbar-date-pill {
    background: #FFFFFF;
    border: 1.5px solid #F5D2DD;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 12px;
    color: #580B2D;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 4px rgba(88, 11, 45, 0.04);
}

/* ---------- Stats Cards (Open Design KPI Luxury) ---------- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
    margin-bottom: 26px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 4px 18px rgba(88, 11, 45, 0.04);
    border: 1.5px solid #F5D2DD;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    box-shadow: 0 10px 26px rgba(217, 1, 124, 0.12);
    transform: translateY(-2px);
    border-color: #F8B4D4;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 4px 4px 0 0;
}

.stat-card.purple::before { background: linear-gradient(90deg, #D9017C, #FF69B4); }
.stat-card.gold::before   { background: linear-gradient(90deg, #F59E0B, #FCD34D); }
.stat-card.green::before  { background: linear-gradient(90deg, #059669, #34D399); }
.stat-card.rose::before   { background: linear-gradient(90deg, #E11D48, #FDA4AF); }

.stat-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.stat-card .stat-label {
    font-size: 11px;
    font-weight: 800;
    color: #8C0B46;
    text-transform: uppercase;
    letter-spacing: .9px;
    margin-bottom: 0;
}

.stat-icon-wrapper {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-card.purple .stat-icon-wrapper {
    background: #FDECF2;
    color: #D9017C;
    border: 1px solid #F8B4D4;
}

.stat-card.gold .stat-icon-wrapper {
    background: #FEF3C7;
    color: #D97706;
    border: 1px solid #FDE68A;
}

.stat-card.green .stat-icon-wrapper {
    background: #D1FAE5;
    color: #059669;
    border: 1px solid #A7F3D0;
}

.stat-card.rose .stat-icon-wrapper {
    background: #FFE4E6;
    color: #E11D48;
    border: 1px solid #FECDD3;
}

.stat-card .stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #38051C;
    font-family: 'Inter', sans-serif;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-trend-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 9999px;
    background: #ECFDF5;
    color: #059669;
    border: 1px solid #A7F3D0;
}

.stat-trend-chip.warning {
    background: #FEF3C7;
    color: #D97706;
    border-color: #FDE68A;
}

.stat-trend-chip.neutral {
    background: #FDF7F7;
    color: #8C0B46;
    border-color: #F5D2DD;
}

/* ---------- Data Cards & Panels ---------- */
.dashboard-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.data-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(88, 11, 45, 0.04);
    border: 1.5px solid #F5D2DD;
    overflow: hidden;
    margin-bottom: 24px;
}

/* Container de tabla responsiva con touch scroll */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0;
}

.table-responsive .data-table {
    width: 100%;
}

.table-responsive::-webkit-scrollbar {
    height: 5px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #FFF5F8;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #F5D2DD;
    border-radius: 9999px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #D9017C;
}

.data-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1.5px solid #F5D2DD;
    background: linear-gradient(90deg, #FFF5F8 0%, #FFFFFF 100%);
    gap: 12px;
}

.data-card-header h3 {
    font-size: 1rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #580B2D;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.header-icon-box {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: #FDECF2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D9017C;
    border: 1px solid #F5D2DD;
}

/* ---------- Data Table (Compact, Zoomable & Elegant) ---------- */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    zoom: var(--table-zoom, 1);
    transform-origin: top left;
    transition: font-size 0.15s ease;
}

.data-table th {
    text-align: left;
    padding: 9px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #8C0B46;
    background: #FFF5F8;
    border-bottom: 1.5px solid #F5D2DD;
    white-space: nowrap;
    position: sticky;
    top: 0;
    z-index: 2;
}

.data-table td {
    padding: 8px 12px;
    font-size: 12.5px;
    color: #38051C;
    border-bottom: 1px solid #FCEBF1;
    vertical-align: middle;
}

.data-table tbody tr {
    transition: background 0.15s ease, box-shadow 0.15s ease;
}

.data-table tbody tr:nth-child(even) {
    background: rgba(255, 245, 248, 0.35);
}

.data-table tbody tr:hover {
    background: #FFF0F6 !important;
    box-shadow: inset 3px 0 0 #D9017C;
}

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

/* Densidad Compacta (para ver más filas de un vistazo) */
.table-responsive.density-compact .data-table th {
    padding: 6px 8px;
    font-size: 10px;
    letter-spacing: 0.4px;
}

.table-responsive.density-compact .data-table td {
    padding: 4px 8px;
    font-size: 11.5px;
}

.table-responsive.density-compact .data-table .table-avatar {
    width: 22px !important;
    height: 22px !important;
    font-size: 10px !important;
}

.table-responsive.density-compact .data-table .table-wa-link {
    padding: 2px 7px;
    font-size: 11px;
    gap: 4px;
}

.table-responsive.density-compact .data-table .badge {
    padding: 2px 7px;
    font-size: 9.5px;
}

/* Direct WhatsApp Action in Table */
.table-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #059669;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    padding: 3px 9px;
    border-radius: 9999px;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    transition: all var(--transition);
    white-space: nowrap;
}

.table-wa-link:hover {
    background: #059669;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}

/* Avatar de participante elegante */
.table-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FFF0F6 0%, #FDECF2 100%);
    color: #D9017C;
    font-weight: 700;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #F5D2DD;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(217, 1, 124, 0.08);
}

/* Barra de controles de Zoom y Densidad */
.table-toolbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.density-toggle-group {
    display: inline-flex;
    background: #FDECF2;
    padding: 2px;
    border-radius: 9999px;
    border: 1px solid #F5D2DD;
    gap: 2px;
}

.density-toggle-btn {
    border: none;
    background: transparent;
    color: #8C0B46;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.15s ease;
    font-family: inherit;
    line-height: 1.2;
}

.density-toggle-btn:hover {
    color: #D9017C;
}

.density-toggle-btn.active {
    background: #FFFFFF;
    color: #D9017C;
    box-shadow: 0 1px 4px rgba(88, 11, 45, 0.12);
    font-weight: 700;
}

.zoom-control-group {
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #F5D2DD;
    border-radius: 9999px;
    padding: 2px 4px;
    box-shadow: 0 1px 3px rgba(88, 11, 45, 0.04);
}

.zoom-btn {
    border: none;
    background: transparent;
    color: #8C0B46;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.zoom-btn:hover {
    background: #FDECF2;
    color: #D9017C;
}

.zoom-btn:active {
    transform: scale(0.9);
}

.zoom-level-badge {
    font-size: 11px;
    font-weight: 700;
    color: #580B2D;
    padding: 0 5px;
    min-width: 38px;
    text-align: center;
    user-select: none;
}

.zoom-reset-btn {
    border: none;
    background: #FFF5F8;
    color: #8C0B46;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 9999px;
    cursor: pointer;
    border: 1px solid #F5D2DD;
    transition: all 0.15s ease;
    line-height: 1.2;
}

.zoom-reset-btn:hover {
    background: #D9017C;
    color: #FFFFFF;
    border-color: #D9017C;
}

/* ---------- Badges with Pulse Dots ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-full);
    letter-spacing: .4px;
    text-transform: uppercase;
}

.badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.badge-success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}
.badge-success::before { background: #10B981; }

.badge-warning {
    background: #FFFBEB;
    color: #92400E;
    border: 1px solid #FDE68A;
}
.badge-warning::before { background: #F59E0B; }

.badge-danger {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECDD3;
}
.badge-danger::before { background: #EF4444; }

.badge-purple {
    background: #FDECF2;
    color: #8C0B46;
    border: 1px solid #F5D2DD;
}
.badge-purple::before { background: #D9017C; }

.badge-gray {
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}
.badge-gray::before { background: var(--gray-400); }

/* ---------- Progress Bar ---------- */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #FDECF2;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 1px solid #FCE0EA;
}

.progress-bar .progress-fill {
    height: 100%;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, #D9017C, #F06292);
    transition: width .5s cubic-bezier(.4,0,.2,1);
}

.progress-bar .progress-fill.full {
    background: linear-gradient(90deg, #E11D48, #FB7185);
}

.progress-bar .progress-fill.almost {
    background: linear-gradient(90deg, #F59E0B, #FCD34D);
}

/* ---------- Modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
    animation: fadeIn .2s ease;
}

.modal-overlay.open { display: flex; }

.modal {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(88,11,45,.15);
    border: 1.5px solid #F5D2DD;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp .3s ease;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1.5px solid #F5D2DD;
    background: linear-gradient(90deg, #FFF5F8 0%, #FFFFFF 100%);
}

.modal-header h3 {
    font-size: 1.15rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #580B2D;
}

.modal-close {
    width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center;
    border: none; background: var(--gray-100);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--gray-500);
    transition: all var(--transition);
}

.modal-close:hover { background: var(--gray-200); color: var(--gray-800); }

.modal-body { padding: 24px; }
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px;
    border-top: 1px solid var(--gray-100);
}

/* ---------- Capacity Indicator ---------- */
.capacity-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.capacity-indicator .capacity-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    min-width: 50px;
}

/* ---------- Search / Filter Bar ---------- */
/* ---------- Search / Filter Bar (Open Design) ---------- */
.filter-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 22px;
    align-items: center;
    background: #FFFFFF;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1.5px solid #F5D2DD;
    box-shadow: 0 2px 10px rgba(88, 11, 45, 0.03);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.filter-bar .search-input {
    flex: 1 1 220px;
    min-width: 180px;
    max-width: 100%;
    height: 44px;
    padding: 0 16px 0 42px;
    border: 1.5px solid #F5D2DD;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 500;
    background: #FFF9FA url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23D9017C' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") 14px center no-repeat;
    transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
    outline: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #38051C;
    box-sizing: border-box;
    line-height: normal;
}

.filter-bar .search-input:focus {
    border-color: #D9017C;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(217, 1, 124, 0.14);
}

.filter-bar .search-input::placeholder {
    color: #A37081;
    opacity: 0.8;
}

.filter-bar select {
    flex: 0 1 auto;
    min-width: 160px;
    height: 44px;
    padding: 0 36px 0 14px;
    border: 1.5px solid #F5D2DD;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    background: #FFF9FA;
    color: #580B2D;
    cursor: pointer;
    outline: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238C0B46' d='M6 8.825a.5.5 0 0 1-.354-.146l-4-4a.5.5 0 0 1 .708-.708L6 7.617l3.646-3.646a.5.5 0 1 1 .708.708l-4 4A.5.5 0 0 1 6 8.825z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    box-sizing: border-box;
    line-height: normal;
}

.filter-bar select:focus {
    border-color: #D9017C;
    background-color: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(217, 1, 124, 0.14);
}

/* ---------- Card Search Box (Open Design Luxury) ---------- */
.card-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 320px;
    width: 100%;
}

.card-search-wrapper .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #D9017C;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    opacity: 0.85;
}

.card-search-wrapper .search-input,
.search-input {
    width: 100%;
    height: 38px;
    padding: 0 36px 0 38px;
    background: #FFFFFF;
    border: 1.5px solid #F5D2DD;
    border-radius: 9999px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #38051C;
    transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
    outline: none;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(88, 11, 45, 0.03);
}

.card-search-wrapper .search-input:hover,
.search-input:hover {
    border-color: #F8B4D4;
    background: #FFF9FA;
}

.card-search-wrapper .search-input:focus,
.search-input:focus {
    border-color: #D9017C;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(217, 1, 124, 0.14);
}

.card-search-wrapper .search-input::placeholder,
.search-input::placeholder {
    color: #A37081;
    font-size: 13px;
    opacity: 0.85;
}

.card-search-wrapper .search-clear-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #A1A1AA;
    cursor: pointer;
    padding: 4px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition);
}

.card-search-wrapper .search-clear-btn:hover {
    color: #D9017C;
    background: #FCEBF1;
}

/* ---------- Empty State ---------- */
.empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--gray-400);
}

.empty-state svg {
    width: 56px; height: 56px;
    margin-bottom: 16px;
    opacity: .4;
}

.empty-state h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 13px;
    max-width: 320px;
    margin: 0 auto;
}

/* ---------- Toast Notification ---------- */
.toast-container {
    position: fixed;
    top: 20px; right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    padding: 14px 20px;
    background: #fff;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInRight .3s ease;
    min-width: 280px;
    border-left: 4px solid var(--success);
}

.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ---------- Animations ---------- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(.5); }
    to { opacity: 1; transform: scale(1); }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-sm     { font-size: 13px; }
.text-xs     { font-size: 11px; }
.text-muted  { color: var(--gray-500); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }

/* Sidebar Overlay Backdrop */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(56, 5, 28, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Form Row 2-Column Responsive */
.modal-form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

/* Table Mobile Swipe Hint */
.table-mobile-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 11.5px;
    font-weight: 600;
    color: #8C0B46;
    background: #FFF5F8;
    padding: 8px 12px;
    border-bottom: 1px solid #F5D2DD;
    text-align: center;
    user-select: none;
}

/* Table Action Buttons Group */
.table-actions-group {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.data-table .btn-sm {
    min-height: 32px;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    white-space: nowrap;
    transition: all var(--transition);
}

/* ---------- Mobile Top Header Bar (Admin) ---------- */
.mobile-top-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1.5px solid #F5D2DD;
    z-index: 95;
    padding: 0 16px;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(88, 11, 45, 0.04);
}

.mobile-top-header .hamburger-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFF5F8;
    border: 1.5px solid #F5D2DD;
    border-radius: 10px;
    color: #8C0B46;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}

.mobile-top-header .hamburger-btn:hover {
    background: #FCE0EA;
    color: #D9017C;
    border-color: #D9017C;
}

.mobile-top-header .mobile-brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mobile-top-header .mobile-brand-logo {
    max-height: 36px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(217, 1, 124, 0.12));
}

.mobile-top-header .mobile-header-user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-top-header .mobile-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D9017C, #FF69B4);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #FFFFFF;
    box-shadow: 0 2px 6px rgba(217, 1, 124, 0.2);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .mobile-top-header {
        display: flex;
    }

    .admin-sidebar {
        transform: translateX(-100%);
        width: 280px;
        max-width: 85vw;
        box-shadow: 0 0 40px rgba(88, 11, 45, 0.25);
        z-index: 100;
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .sidebar-close-btn {
        display: flex;
    }

    .admin-main {
        margin-left: 0;
        width: 100%;
        max-width: 100%;
        padding: 74px 20px 28px;
    }

    .hamburger {
        display: none !important;
    }

    .dashboard-grid-2col {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }

    .admin-layout, .admin-main {
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    /* iOS Safari 16px threshold: prevents auto-zooming on input focus */
    input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]), 
    select, 
    .form-control, 
    .search-input, 
    .filter-bar select, 
    .filter-bar .search-input, 
    .card-search-wrapper .search-input {
        font-size: 16px !important;
        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
        flex: 0 0 auto !important;
        border-radius: 10px;
        box-sizing: border-box;
    }

    textarea.form-control {
        height: auto !important;
        min-height: 100px;
        max-height: none !important;
        flex: 0 0 auto !important;
    }

    .form-group label {
        font-size: 13px;
        font-weight: 700;
        color: #580B2D;
        margin-bottom: 6px;
    }

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

    /* Standard Button Proportions on Mobile */
    .btn {
        height: 46px;
        min-height: 46px;
        font-size: 14px;
        font-weight: 600;
        padding: 0 18px;
        border-radius: 10px;
    }

    .btn-lg {
        height: 50px;
        min-height: 50px;
        font-size: 16px;
        border-radius: 12px;
    }

    .table-mobile-hint {
        display: flex;
    }

    .modal-form-row-2col {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .admin-topbar {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-bottom: 18px;
    }

    .admin-topbar > div:first-child {
        flex: 0 0 auto !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .admin-topbar .topbar-actions {
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .admin-topbar .topbar-actions > *:only-child {
        grid-column: 1 / -1;
    }

    .admin-topbar .topbar-actions .btn,
    .admin-topbar .topbar-actions .topbar-date-pill {
        width: 100%;
        height: 44px;
        min-height: 44px;
        padding: 0 12px;
        font-size: 12px;
        font-weight: 600;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
        box-sizing: border-box;
        border-radius: 9999px;
    }

    .card-search-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        flex: 1 1 100% !important;
    }

    .card-search-wrapper .search-input {
        width: 100% !important;
        height: 44px;
        min-height: 44px;
        font-size: 16px !important;
        border-radius: 10px !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 16px 18px;
        border-radius: 14px;
    }

    .stat-card .stat-value {
        font-size: 1.9rem;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 14px;
    }

    .filter-bar .search-input {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        font-size: 16px !important;
        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
        flex: 0 0 auto !important;
        border-radius: 10px;
    }

    .filter-bar select {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        font-size: 16px !important;
        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
        flex: 0 0 auto !important;
        border-radius: 10px;
    }

    .filter-bar > div {
        width: 100% !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
    }

    .filter-bar .filter-actions {
        display: flex;
        gap: 8px;
        width: 100%;
        flex: 0 0 auto !important;
    }

    .filter-bar .filter-actions .btn,
    .filter-bar .btn {
        flex: 1;
        width: 100%;
        justify-content: center;
        text-align: center;
        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
        font-size: 14px;
        font-weight: 600;
        border-radius: 10px;
    }

    .filter-tab-group {
        width: 100%;
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 3px;
        border-radius: 12px;
        min-height: 42px;
    }

    .filter-tab-btn {
        flex: 1;
        text-align: center;
        padding: 8px 12px;
        font-size: 12.5px;
        font-weight: 600;
        white-space: nowrap;
    }

    .modal {
        margin: 10px;
        max-width: calc(100% - 20px) !important;
        width: calc(100% - 20px) !important;
        max-height: 92vh;
        display: flex;
        flex-direction: column;
        border-radius: 16px;
    }

    .modal-header {
        padding: 16px 18px;
    }

    .modal-body {
        padding: 18px 16px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        flex: 1;
    }

    .modal-footer {
        padding: 14px 16px;
        display: flex !important;
        gap: 8px !important;
    }

    .modal-footer .btn {
        flex: 1;
        min-height: 46px !important;
        font-size: 14.5px !important;
        font-weight: 600 !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .welcome-card {
        padding: 24px 16px;
    }

    .btn-whatsapp {
        width: 100%;
    }

    .brand-header {
        padding: 28px 14px 20px;
    }

    .data-card-header {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 12px 14px;
    }

    .data-card-header h3 {
        font-size: 0.95rem;
    }

    .data-card-header .table-toolbar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
    }

    .data-table {
        min-width: 680px;
    }
}

@media (max-width: 480px) {
    .admin-main {
        padding: 68px 12px 20px;
    }

    .admin-topbar h1 {
        font-size: 1.35rem;
    }

    .admin-topbar-subtitle {
        font-size: 11.5px;
    }

    .admin-topbar > div:first-child {
        flex: 0 0 auto !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .admin-topbar .topbar-actions {
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }

    .admin-topbar .topbar-actions > *:only-child {
        grid-column: 1 / -1 !important;
    }

    .admin-topbar .topbar-actions .btn,
    .admin-topbar .topbar-actions .topbar-date-pill {
        width: 100% !important;
        height: 42px !important;
        min-height: 42px !important;
        padding: 0 8px !important;
        font-size: 11.5px !important;
        font-weight: 600 !important;
        border-radius: 9999px !important;
        gap: 6px !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .filter-bar {
        padding: 12px;
        gap: 8px;
    }

    .filter-bar .search-input,
    .filter-bar select {
        height: 46px !important;
        min-height: 46px !important;
        max-height: 46px !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        font-size: 16px !important;
    }

    .filter-bar .filter-actions .btn,
    .filter-bar .btn {
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
    }

    .stat-card {
        padding: 14px 16px;
        border-radius: 12px;
    }

    .stat-card .stat-value {
        font-size: 1.75rem;
    }

    .data-card-header {
        padding: 10px 12px;
    }

    .data-card-header .table-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .density-toggle-group,
    .zoom-control-group {
        width: 100%;
        justify-content: center;
    }

    .data-card {
        border-radius: 12px;
        margin-bottom: 16px;
    }

    .modal-overlay {
        padding: 6px;
    }

    .modal {
        max-height: 94vh;
        border-radius: 14px;
        margin: 6px;
        max-width: calc(100% - 12px) !important;
        width: calc(100% - 12px) !important;
    }

    .modal-header {
        padding: 14px 16px;
    }

    .modal-body {
        padding: 14px;
    }

    .modal-footer {
        padding: 12px 14px;
        flex-direction: column-reverse !important;
        gap: 8px !important;
    }

    .modal-footer .btn {
        width: 100% !important;
        min-height: 46px !important;
        font-size: 15px !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Login Screen Responsiveness */
    .admin-login-screen {
        padding: 16px 12px;
    }

    .admin-login-box {
        padding: 24px 16px;
        border-radius: 16px;
    }

    .admin-login-box .login-logo {
        max-width: 170px;
    }

    .admin-login-header h2 {
        font-size: 1.25rem;
    }

    .admin-login-header p {
        font-size: 12px;
    }

    .admin-login-slogan .slogan-script {
        font-size: 1.15rem;
    }
}

/* ---------- Sidebar Close (mobile admin drawer) ---------- */
.sidebar-close-btn {
    display: none;
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #F5D2DD;
    background: #FFF5F8;
    color: #8C0B46;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
    padding: 0;
    z-index: 10;
}

.sidebar-close-btn:hover {
    background: #D9017C;
    color: #FFFFFF;
    border-color: #D9017C;
}

@media (max-width: 1024px) {
    .sidebar-close-btn { display: flex; }
}

/* ---------- Setup Page ---------- */
.setup-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 24px;
}

.setup-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px 36px;
}

.setup-card h2 {
    text-align: center;
    margin-bottom: 8px;
    color: var(--purple-800);
}

.setup-card .setup-subtitle {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 32px;
    font-size: 14px;
}

.setup-steps {
    counter-reset: setup-step;
    margin: 24px 0;
}

.setup-step {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
}

.setup-step:last-child { border-bottom: none; }

.setup-step::before {
    counter-increment: setup-step;
    content: counter(setup-step);
    width: 32px; height: 32px;
    min-width: 32px;
    background: var(--purple-100);
    color: var(--purple-700);
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.setup-step.done::before {
    background: var(--success);
    color: #fff;
    content: '✓';
}

/* ---------- Pagination ---------- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 18px;
}

.pagination button {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--gray-200);
    background: #fff;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition);
    font-family: 'Inter', sans-serif;
}

.pagination button:hover { border-color: var(--purple-300); color: var(--purple-700); }
.pagination button.active {
    background: var(--purple-700);
    color: #fff;
    border-color: var(--purple-700);
}

/* ---------- Open Design Luxury Admin Login ---------- */
.admin-login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 15% 15%, rgba(217, 1, 124, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 85% 85%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(88, 11, 45, 0.04) 0%, transparent 70%),
        linear-gradient(165deg, #FDF7F7 0%, #FFFFFF 50%, #FFF5F8 100%);
}

.admin-login-orb-1 {
    position: absolute;
    width: 450px;
    height: 450px;
    top: -120px;
    left: -120px;
    background: radial-gradient(circle, rgba(217, 1, 124, 0.14) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.admin-login-orb-2 {
    position: absolute;
    width: 420px;
    height: 420px;
    bottom: -100px;
    right: -100px;
    background: radial-gradient(circle, rgba(88, 11, 45, 0.10) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.admin-login-box {
    width: 100%;
    max-width: 440px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1.5px solid #F5D2DD;
    border-radius: 22px;
    padding: 38px 34px;
    box-shadow: 0 20px 50px rgba(88, 11, 45, 0.08), 0 0 45px rgba(217, 1, 124, 0.06);
    position: relative;
    z-index: 2;
    animation: fadeInUp .5s cubic-bezier(.16,1,.3,1);
}

.admin-login-box .login-logo {
    max-width: 220px;
    height: auto;
    margin: 0 auto 12px;
    display: block;
    filter: drop-shadow(0 4px 14px rgba(217, 1, 124, 0.14));
}

.admin-login-header {
    text-align: center;
    margin-bottom: 24px;
}

.admin-login-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #8C0B46;
    background: #FDECF2;
    border: 1px solid #F5D2DD;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 12px;
}

.admin-login-header h2 {
    font-family: 'Playfair Display', serif;
    color: #580B2D;
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.2;
}

.admin-login-header p {
    font-size: 13px;
    color: #7A3353;
    line-height: 1.4;
}

.input-icon-group {
    position: relative;
    margin-bottom: 4px;
}

.input-icon-group .icon-adornment {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #8C0B46;
    pointer-events: none;
    width: 18px;
    height: 18px;
    opacity: 0.8;
}

.input-icon-group .form-control {
    padding-left: 44px;
    padding-right: 44px;
    font-size: 14.5px;
    border-radius: 12px;
    border: 1.5px solid #F5D2DD;
    background: #FFFFFF;
    color: #38051C;
    transition: all var(--transition);
}

.input-icon-group .form-control:focus {
    border-color: #D9017C;
    box-shadow: 0 0 0 3px rgba(217, 1, 124, 0.15);
    background: #FFFFFF;
}

.input-icon-group .toggle-pwd-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #8C5268;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    transition: color var(--transition);
}

.input-icon-group .toggle-pwd-btn:hover {
    color: #D9017C;
}

.admin-login-footer {
    text-align: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #F5D2DD;
}

.admin-login-footer a {
    font-size: 13px;
    color: #D9017C;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition);
}

.admin-login-footer a:hover {
    color: #C70E7F;
    transform: translateY(-1px);
}

.admin-login-slogan {
    text-align: center;
    margin-top: 20px;
}

.admin-login-slogan .slogan-script {
    font-family: 'Great Vibes', cursive;
    font-size: 1.45rem;
    color: #D9017C;
    line-height: 1.1;
    display: block;
}

.admin-login-slogan .slogan-bold {
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    color: #580B2D;
    font-weight: 700;
}

.admin-login-slogan .slogan-copy {
    font-size: 11px;
    color: #8C0B46;
    margin-top: 4px;
    opacity: 0.8;
}
