:root {
    /* Paleta principal — naranja */
    --navy:       #1a0f00;
    --blue:       #3d1f00;
    --blue-mid:   #e87722;
    --blue-lt:    #f5c49a;
    --blue-soft:  #f0924a;
    --blue-pale:  #fff3e8;
    --sage:       #c96015;
    --sage-lt:    #f0924a;
    --mint:       #fff3e8;

    /* Neutros */
    --white:      #ffffff;
    --snow:       #fdf8f3;
    --cloud:      #f5ede3;
    --ink:        #1a0d00;
    --muted:      #7a6055;
    --border:     rgba(200,96,21,0.12);

    /* Extras */
    --focus:      var(--blue-mid);
    --accent:     var(--blue-mid);
    --accent-soft: var(--blue-pale);

    /* Tipografía */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans:  'Outfit', system-ui, sans-serif;

    /* Espaciado */
    --section-py: clamp(4rem, 8vw, 7rem);
    --radius-lg:  24px;
    --radius-md:  16px;
    --radius-sm:  10px;

    /* Sombras */
    --shadow-soft: 0 4px 30px rgba(26,13,0,0.08);
    --shadow-mid:  0 8px 40px rgba(26,13,0,0.14);
    --shadow-hard: 0 20px 60px rgba(26,13,0,0.22);

    /* Layout */
    --sidebar-w: 260px;
}

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

/* ═══════════════════════════════════════════════════════════
   BASE BODY — dos modos: app (sidebar) y auth (centrado)
═══════════════════════════════════════════════════════════ */

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--snow);
    color: var(--navy);
}

/* Body para vistas con sidebar */
body.layout-app {
    display: flex;
    min-height: 100vh;
}

/* Body para vistas de auth (login/register) */
body.layout-auth {
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

/* ═══════════════════════════════════════════════════════════
   SIDEBAR — FLOATING PANEL
═══════════════════════════════════════════════════════════ */

.sidebar {
    width: var(--sidebar-w);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.6);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 16px;
    left: 16px;
    bottom: 16px;
    z-index: 100;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.sidebar-logo { padding: 28px 24px 15px; }

.sidebar-logo .brand {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--navy);
    letter-spacing: 1px;
    text-decoration: none;
}

.brand-sub {
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 4px;
}

.sidebar-nav {
    flex: 1;
    padding: 12px 14px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 3px;
    overflow-y: auto;
}

.nav-section-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--muted);
    padding: 16px 10px 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border-left: none;
    transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
}
.nav-link:hover {
    color: var(--sage);
    background: var(--blue-pale);
    transform: translateX(2px);
}
.nav-link.active {
    color: #fff;
    background: linear-gradient(135deg, var(--blue-mid), var(--sage));
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(232,119,34,0.3);
}
.nav-link svg { width: 18px; height: 18px; flex-shrink: 0; }

.sidebar-footer {
    padding: 16px 14px;
    border-top: 1px solid var(--border);
}

/* User card en sidebar */
.user-card {
    background: var(--blue-pale);
    border: 1px solid var(--blue-soft);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    margin-bottom: 12px;
}
.user-card .user-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
}
.user-card .user-email {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-soft));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(232,119,34,0.3);
}

.user-role {
    font-size: 11px;
    color: var(--muted);
    letter-spacing: 1px;
    margin-top: 2px;
}

.btn-switch-vista {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--blue-mid);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.btn-switch-vista:hover {
    background: var(--blue-pale);
    border-color: var(--blue-mid);
}

.btn-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 13px;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
    font-family: inherit;
}
.btn-logout:hover {
    border-color: #dc2626;
    color: #dc2626;
    background: #fef2f2;
    box-shadow: 0 4px 12px rgba(220,38,38,0.15);
}


/* ═══════════════════════════════════════════════════════════
   MAIN / TOPBAR — FLOATING
═══════════════════════════════════════════════════════════ */

.main {
    margin-left: calc(var(--sidebar-w) + 32px);
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.topbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.6);
    padding: 0 28px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 16px;
    margin: 16px 16px 0;
    z-index: 90;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--navy);
    font-weight: 400;
}


.topbar__title {
    font-family: 'Playfair Display', serif;
    font-size: 25px;
    font-weight: 400;
    color: var(--navy);
    line-height: 1;
    letter-spacing: -0.2px;
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
}

.content { padding: 24px 16px 32px; flex: 1; }

/* ═══════════════════════════════════════════════════════════
   STAT CARDS
═══════════════════════════════════════════════════════════ */

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

.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-mid), var(--blue-soft));
}

.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    color: var(--blue-mid);
}
.stat-value.gold   { color: var(--sage); }
.stat-value.danger { color: #dc2626; }
.stat-value.green  { color: var(--sage); }

.stat-label {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* ═══════════════════════════════════════════════════════════
   CARDS GENÉRICAS
═══════════════════════════════════════════════════════════ */

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 400;
    color: var(--navy);
}

.card-body { padding: 24px; }


/* ═══════════════════════════════════════════════════════════
   TABLA
═══════════════════════════════════════════════════════════ */

.table-wrap { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }

th {
    text-align: left;
    padding: 12px 16px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    font-weight: 600;
    background: var(--cloud);
}
td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--ink);
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--blue-pale); }


/* ═══════════════════════════════════════════════════════════
   BADGES
═══════════════════════════════════════════════════════════ */

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-active   { background: var(--mint); color: var(--sage); }
.badge-inactive { background: var(--cloud); color: var(--muted); }
.badge-foto     { background: var(--blue-pale); color: var(--sage); }
.badge-admin    { background: var(--cloud); color: var(--blue-mid); }


/* ═══════════════════════════════════════════════════════════
   BOTONES
═══════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
    font-family: inherit;
}
.btn-primary { background: var(--blue-mid); color: #fff; }
.btn-primary:hover { background: var(--sage); }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
    justify-content: center;
}
.btn-outline:hover {
    border-color: var(--blue-mid);
    color: var(--blue-mid);
    background: var(--blue-pale);
}
.btn-danger {
    background: transparent;
    border: 1px solid #fecaca;
    color: #dc2626;
}
.btn-danger:hover { background: #fef2f2; }

.btn-nueva-reserva {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 20px;
    background: var(--blue-mid);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: .03em;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity .2s, transform .15s;
}
.btn-nueva-reserva:hover { opacity: .88; transform: translateY(-1px); }


/* ═══════════════════════════════════════════════════════════
   FORMULARIOS (app)
═══════════════════════════════════════════════════════════ */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-top: 15px;}
.form-group.full { grid-column: 1 / -1; }

/* Selección de paquetes (catálogos) */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 10px;
}
.checkbox-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.checkbox-item:hover {
    border-color: var(--accent);
    background: var(--snow);
}
.checkbox-item input[type="checkbox"] {
    order: 2;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
}
.checkbox-item > div {
    order: 1;
}
@media (max-width: 600px) {
    .checkbox-grid { grid-template-columns: 1fr; }
}

label {
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

input, select, textarea {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--navy);
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    width: 100%;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--blue-mid);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(232,119,34,0.12);
}
select option { background: var(--white); color: var(--navy); }
textarea { resize: vertical; min-height: 100px; }
.form-actions { display: flex; gap: 12px; margin-top: 8px; }
.error-msg, .field-error { color: #dc2626; font-size: 12px; }


/* ═══════════════════════════════════════════════════════════
   ALERTAS
═══════════════════════════════════════════════════════════ */

.alert {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-success {
    background: var(--mint);
    border: 1px solid var(--sage-lt);
    color: var(--sage);
}
.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}


/* ═══════════════════════════════════════════════════════════
   PAGINACIÓN
═══════════════════════════════════════════════════════════ */

.pagination { display: flex; gap: 6px; justify-content: center; padding: 20px; }
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
    background: var(--white);
    color: var(--muted);
    border: 1px solid var(--border);
    transition: all 0.2s;
}
.pagination a:hover { border-color: var(--blue-mid); color: var(--blue-mid); }
.pagination .active span {
    background: var(--blue-mid);
    color: #fff;
    border-color: var(--blue-mid);
}


/* ═══════════════════════════════════════════════════════════
   DASHBOARD — ACCESOS RÁPIDOS
═══════════════════════════════════════════════════════════ */

.accesos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}
.acceso-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}
.acceso-btn:hover {
    border-color: var(--blue-mid);
    color: var(--blue-mid);
    background: var(--blue-pale);
}

/* Reservas en dashboard */
.reserva-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
}
.reserva-row:last-child { border-bottom: none; }
.reserva-nombre { font-weight: 500; font-size: 14px; }
.reserva-fecha  { font-size: 12px; color: var(--muted); margin-top: 3px; }


/* ═══════════════════════════════════════════════════════════
   PERFIL
═══════════════════════════════════════════════════════════ */

.perfil-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.perfil-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-mid), var(--blue-soft));
}

.perfil-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-mid), var(--sage-lt));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 600;
    flex-shrink: 0;
    letter-spacing: 1px;
    box-shadow: 0 6px 18px rgba(232,119,34,0.3);
    outline: 3px solid var(--blue-pale);
    outline-offset: 2px;
}

.perfil-info { flex: 1; min-width: 0; }

.perfil-nombre {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.perfil-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.perfil-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
}
.perfil-meta-item svg { width: 15px; height: 15px; flex-shrink: 0; }

.perfil-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: var(--blue-pale);
    color: var(--blue-mid);
    border: 1px solid var(--blue-soft);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

/* ── Mini-chart dentro de la card (solo desktop) ── */
.perfil-card__chart {
    display: none;
}
.perfil-card__chart-label {
    font-size: 11px;
    color: var(--muted);
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.chart-wrap {
    height: 200px;
    position: relative;
}
.chart-wrap--mini { height: 70px; }


/* ── Resumen rápido (stats compactos) ── */
.perfil-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.perfil-stat {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 18px;
    text-align: center;
    overflow: hidden;
    transition: all 0.22s ease;
}
.perfil-stat::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-mid), var(--blue-soft));
}
.perfil-stat:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(232,119,34,0.22);
}

.perfil-stat__val {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--blue-mid);
    line-height: 1;
    margin-bottom: 6px;
}

.perfil-stat__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--muted);
}


/* ── Toggle mobile/desktop: chart completo vs mini-chart ── */
.perfil-chart-card-full { display: block; }


/* ── Responsive ── */
@media (max-width: 768px) {
    .perfil-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
    }
    .perfil-nombre { font-size: 1.25rem; }
    .perfil-meta { justify-content: center; gap: 10px; }
    .perfil-meta-item { font-size: 12px; }

    .perfil-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .perfil-stat { padding: 12px 8px; }
    .perfil-stat__val { font-size: 22px; }
    .perfil-stat__label { font-size: 9px; letter-spacing: 0; }
}

@media (min-width: 769px) {
    /* Mostrar mini-chart integrado en la card de perfil */
    .perfil-card__chart {
        display: block;
        flex: 0 0 220px;
        margin-left: auto;
        align-self: stretch;
    }

    /* La card de gráfico completo se oculta: el mini-chart la sustituye */
    .perfil-chart-card-full { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   RESERVAS — LISTA (vista cliente/reservas/index)
═══════════════════════════════════════════════════════════ */

.reservas-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-soft);
}


/* ── Tabs tipo segmented control ── */
.reservas-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    margin-bottom: 15px;
    background: var(--cloud);
    border-radius: 999px;
    border: none;
    width: fit-content;
}
.tab {
    background: none;
    border: none;
    border-radius: 999px;
    padding: 9px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
    display:flex;
    align-items:center;
    gap:8px;
}

.tab-badge{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 9999px;
    background: #E8A020;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.tab:hover:not(.active) { color: var(--sage); }
.tab.active {
    background: var(--white);
    color: var(--blue-mid);
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

/* Panels */
.tab-panel { display: none; flex-direction: column; gap: 16px; }
.tab-panel.active { display: flex; }

/* ── Card de reserva ── */
.reserva-card {
    position: relative;
    background: var(--snow);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border);
    box-shadow: none;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.reserva-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--blue-mid), var(--sage));
    opacity: 0;
    transition: opacity .25s ease;
}
.reserva-card:hover {
    transform: translateY(-3px);
    background: var(--white);
    box-shadow: var(--shadow-mid);
    border-color: rgba(232,119,34,0.25);
}
.reserva-card:hover::before { opacity: 1; }

/* Ícono */
.reserva-icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform .25s ease;
}
.reserva-card:hover .reserva-icon { transform: scale(1.05) rotate(-2deg); }
.reserva-icon svg { width: 26px; height: 26px; }
.icon-estudio  { background: linear-gradient(135deg, var(--blue-pale), var(--blue-soft)); color: var(--blue-mid); }
.icon-exterior { background: linear-gradient(135deg, var(--cloud), #ece2d3); color: var(--sage); }
.icon-boudoir  { background: linear-gradient(135deg, var(--mint), #ffe4c9); color: var(--sage); }
.icon-default  { background: var(--cloud); color: var(--muted); }

/* Cuerpo */
.reserva-body { flex: 1; min-width: 0; }

.reserva-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy);
    margin: 0 0 4px;
}

.reserva-date {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 14px;
}

/* Stepper */
.reserva-stepper { margin-top: 4px; }

.stepper-track {
    position: relative;
    height: 5px;
    background: var(--cloud);
    border-radius: 3px;
    margin: 10px 0;
    overflow: hidden;
}

.stepper-fill {
    position: absolute;
    left: 0; top: 0;
    height: 100%;
    border-radius: 3px;
    transition: width .5s cubic-bezier(0.4,0,0.2,1);
}
.stepper-fill.fill-pendiente  { background: linear-gradient(90deg, var(--blue-pale), var(--blue-soft)); }
.stepper-fill.fill-aprobada   { background: linear-gradient(90deg, var(--sage-lt), var(--sage)); }
.stepper-fill.fill-en_sesion  { background: linear-gradient(90deg, var(--blue-mid), var(--sage)); }
.stepper-fill.fill-finalizada { background: var(--muted); }
.stepper-fill.fill-cancelada  { background: #dc2626; }

.stepper-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* Pill base — paso futuro */
.step-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.72rem;
    font-weight: 500;
    background: var(--cloud);
    color: var(--muted);
    border: 1px solid var(--border);
    white-space: nowrap;
}
.step-pill::before {
    content: '';
    width: 5px; height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: .35;
    flex-shrink: 0;
}

/* Paso completado */
.step-pill.done {
    color: var(--blue-mid);
    border-color: rgba(232,119,34,0.25);
    background: rgba(232,119,34,0.06);
}
.step-pill.done::before { opacity: .9; }

/* Paso actual — con dot pulsante */
.step-pill.current-pendiente {
    color: var(--sage);
    border-color: rgba(201,96,21,0.3);
    background: rgba(201,96,21,0.08);
    font-weight: 600;
}
.step-pill.current-aprobada {
    color: var(--blue-mid);
    border-color: rgba(232,119,34,0.3);
    background: rgba(232,119,34,0.08);
    font-weight: 600;
}
.step-pill.current-en_sesion {
    color: var(--sage-lt);
    border-color: rgba(240,146,74,0.4);
    background: rgba(240,146,74,0.08);
    font-weight: 600;
}
.step-pill.current-pendiente::before,
.step-pill.current-aprobada::before,
.step-pill.current-en_sesion::before {
    opacity: 1;
    animation: pulse-dot 1.6s ease infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: .3; }
}

/* Cancelada */
.step-pill.cancelada {
    color: #dc2626;
    border-color: rgba(220,38,38,0.25);
    background: rgba(220,38,38,0.06);
}
.step-pill.cancelada::before { opacity: .9; }

/* Meta derecha */
.reserva-meta {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.estado-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px 5px 10px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: capitalize;
}
.estado-badge::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}
.badge-pendiente  { background: var(--blue-pale); color: var(--sage);    border: 1px solid var(--blue-soft); }
.badge-aprobada   { background: var(--blue-pale); color: var(--blue-mid); border: 1px solid var(--blue-soft); }
.badge-en_sesion  { background: var(--cloud);     color: var(--blue-mid); border: 1px solid var(--border); }
.badge-finalizada { background: var(--cloud);     color: var(--muted);    border: 1px solid var(--border); }
.badge-cancelada  { background: #fef2f2;          color: #dc2626;         border: 1px solid #fecaca; }

.reserva-precio {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
}
.reserva-paquete {
    font-size: 0.75rem;
    color: var(--muted);
}

/* Empty state */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 60px 20px;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
    background: var(--white);
    border: 1px dashed var(--border);
    border-radius: var(--radius-md);
}
.empty-state svg {
    width: 56px; height: 56px;
    padding: 14px;
    background: var(--blue-pale);
    border-radius: 50%;
    color: var(--blue-mid);
    opacity: 1;
}

.mt-2 { margin-top: 8px; }


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    .reservas-tabs {
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .reservas-tabs::-webkit-scrollbar { display: none; }
    .tab { padding: 8px 16px; font-size: 0.8rem; }

    /* ── Ícono + body en fila; meta se cae a su propia línea ── */
    .reserva-card {
        flex-wrap: wrap;
        align-items: center;
        gap: 12px 14px;
        padding: 16px;
    }
    .reserva-card::before {
        top: 0; left: 0; right: 0; bottom: auto;
        width: 100%;
        height: 3px;
    }

    .reserva-icon { width: 42px; height: 42px; border-radius: 12px; }
    .reserva-icon svg { width: 18px; height: 18px; }

    .reserva-body {
        flex: 1 1 180px;
        min-width: 0;
    }
    .reserva-title { font-size: 0.95rem; margin-bottom: 2px; }
    .reserva-date { margin-bottom: 8px; }

    .stepper-pills { display: none; }

    /* ── Meta: se cae a línea completa debajo de ícono+body ── */
    .reserva-meta {
        flex: 1 1 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding-top: 10px;
        border-top: 1px solid var(--border);
    }
    .reserva-paquete { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   RESERVA — VISTA PÚBLICA (reserva/create)
═══════════════════════════════════════════════════════════ */

.reserva-wrapper {
    display: flex;
    height: 100vh;
}

/* ── Columna carrusel ── */
.reserva-carousel {
    width: 40%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.reserva-carousel .carousel,
.reserva-carousel .carousel-inner,
.reserva-carousel .carousel-item {
    height: 100%;
}

.reserva-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.reserva-carousel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 15, 0, 0.3);
    pointer-events: none;
}

/* ── Columna formulario ── */
.reserva-form {
    width: 60%;
    height: 100vh;
    overflow-y: auto;
    padding: 3rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
}

.reserva-form::-webkit-scrollbar { width: 4px; }
.reserva-form::-webkit-scrollbar-track { background: transparent; }
.reserva-form::-webkit-scrollbar-thumb { background: var(--cloud); border-radius: 2px; }

/* Logo arriba */
.reserva-logo {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--ink);
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}
.reserva-logo span { color: var(--blue-mid); }

/* Títulos */
.reserva-form h5 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--blue-mid);
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.reserva-form h4 {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2rem;
}

/* ── Stepper (formulario reserva) ── */
.stepper {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
}

.stepper-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.stepper-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    z-index: 1;
}
.stepper-circle.active {
    border-color: var(--blue-mid);
    background: var(--blue-mid);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(232,119,34,0.18);
}
.stepper-circle.done {
    border-color: var(--blue-mid);
    background: var(--white);
    color: var(--blue-mid);
}

.stepper-label {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    color: var(--muted);
    margin-top: 0.35rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.stepper-label.active { color: var(--blue-mid); }

.stepper-line {
    flex: 1;
    height: 2px;
    background: var(--cloud);
    margin: 0 0.5rem;
    margin-bottom: 1.2rem;
    transition: background 0.3s ease;
}
.stepper-line.done { background: var(--blue-mid); }

/* ── Inputs borde inferior (formulario reserva) ── */
.form-floating-modern {
    position: relative;
    margin-bottom: 1.6rem;
}

.form-floating-modern label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.4rem;
    display: block;
}

.form-floating-modern input,
.form-floating-modern select,
.form-floating-modern textarea {
    width: 100%;
    border: none;
    border-bottom: 1.5px solid var(--border);
    border-radius: 0;
    padding: 0.6rem 0;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--ink);
    background: transparent;
    outline: none;
    transition: border-color 0.2s ease;
    appearance: auto;
}
.form-floating-modern input:focus,
.form-floating-modern select:focus,
.form-floating-modern textarea:focus {
    border-bottom-color: var(--blue-mid);
    box-shadow: none;
}
.form-floating-modern input.is-invalid,
.form-floating-modern select.is-invalid,
.form-floating-modern textarea.is-invalid {
    border-bottom-color: #dc2626;
}
.form-floating-modern .invalid-feedback {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: 0.3rem;
}

/* Radio buttons */
.radio-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.radio-option {
    flex: 1;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--muted);
    background: var(--white);
    user-select: none;
}
.radio-option:hover {
    border-color: var(--blue-soft);
    background: var(--snow);
}
.radio-option:has(input:checked) {
    border-color: var(--blue-mid);
    background: var(--blue-pale);
    color: var(--blue-mid);
    font-weight: 600;
}
.radio-option input[type="radio"] {
    accent-color: var(--blue-mid);
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    cursor: pointer;
    vertical-align: middle;
}

/* Botón reserva */
.btn-reserva {
    background: var(--blue-mid);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s ease;
}
.btn-reserva:hover { background: var(--sage); color: #fff; }

/* Checkbox términos */
.terminos-condiciones {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.85rem 1rem;
    background: var(--cloud);
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}
.terminos-condiciones input[type="checkbox"] {
    accent-color: var(--blue-mid);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin: 2px 0 0 0;
    cursor: pointer;
}
.terminos-condiciones label {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}


/* ═══════════════════════════════════════════════════════════
   AUTH — LOGIN / REGISTER
═══════════════════════════════════════════════════════════ */

.auth-card {
    width: 100%;
    max-width: 860px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: 38% 62%;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

/* Panel izquierdo */
.panel-left {
    background: linear-gradient(135deg, var(--sage), var(--blue-mid));
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 540px;
    color: var(--white);
}

.panel-left .brand {
    font-family: var(--font-serif);
    font-size: 22px;
    letter-spacing: 1.5px;
    color: var(--white);
}

.panel-left .brand-sub {
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 5px;
}

.left-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 22px;
    line-height: 1.55;
    color: rgba(255,255,255,0.85);
}
.left-quote em {
    color: var(--white);
    font-style: normal;
}

.left-cite {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-top: 16px;
}

.left-bottom {
    font-size: 11px;
    color: rgba(255,255,255,0.55);
}

/* Panel derecho */
.panel-right {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-title {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--ink);
    font-weight: 400;
    margin-bottom: 6px;
}

.form-sub {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 30px;
}

/* Inputs auth */
.panel-right input[type="email"],
.panel-right input[type="password"],
.panel-right input[type="text"] {
    background: var(--cloud);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--ink);
    padding: 11px 14px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
    width: 100%;
}
.panel-right input:focus {
    outline: none;
    border-color: var(--focus);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(232,119,34,0.12);
}

/* Mostrar/ocultar contraseña */
.password-wrap {
    position: relative;
}
.password-wrap input[type="password"],
.password-wrap input[type="text"] {
    padding-right: 42px;
}
.toggle-password {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    padding: 0;
    color: var(--muted);
    cursor: pointer;
}
.toggle-password:hover {
    color: var(--ink);
}
.toggle-password:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(232,119,34,0.12);
    border-radius: 6px;
}
.toggle-password .icon-eye-off {
    display: none;
}
.toggle-password.is-visible .icon-eye {
    display: none;
}
.toggle-password.is-visible .icon-eye-off {
    display: block;
}


/* Remember */
.remember-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    margin-top: 15px;
}
.remember-row input[type="checkbox"] {
    width: 15px;
    accent-color: var(--accent);
}
.remember-row span {
    font-size: 13px;
    color: var(--muted);
}
.forgot-link {
    margin-left: auto;
    font-size: 12px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.forgot-link:hover { text-decoration: underline; }

/* Botón submit auth */
.btn-submit {
    width: 100%;
    background: var(--blue-mid);
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 13px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    box-shadow: var(--shadow-soft);
    margin-top: 20px;
}
.btn-submit:hover {
    background: var(--sage);
    transform: translateY(-1px);
}

/* Links */
.bottom-links {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bottom-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.bottom-links a:hover { text-decoration: underline; }
.back-link {
    color: var(--muted) !important;
    font-weight: 400 !important;
}

/* Error box */
.error-box {
    background: #fdecea;
    border: 1px solid rgba(192,57,43,0.2);
    color: #c0392b;
    padding: 11px 15px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    margin-bottom: 20px;
}

/* Password strength */
.strength-wrap { margin-top: 6px; }
.strength-bar {
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}
.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: width 0.3s ease, background 0.3s ease;
}
.strength-fill.weak   { background: #e74c3c; width: 33%; }
.strength-fill.medium { background: #f39c12; width: 66%; }
.strength-fill.strong { background: var(--sage); width: 100%; }
.strength-label {
    font-size: 10px;
    color: var(--muted);
    margin-top: 4px;
}

.divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: #bbb;
    font-size: 13px;
}
.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e8e4dc;
}

.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 11px;
    border: 1px solid #e0dbd2;
    border-radius: 8px;
    background: #fff;
    color: #3d3d3a;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}
.btn-google:hover {
    background: #f7f5f0;
    border-color: #c8c3ba;
}

/* Terms */
.terms {
    font-size: 11px;
    color: var(--muted);
    text-align: center;
    margin-top: 14px;
    line-height: 1.7;
}
.terms a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.terms a:hover { text-decoration: underline; }


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   Breakpoint principal: 768px
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    body.layout-app { flex-direction: column; }

    /* ── Sidebar → drawer lateral ── */
    .sidebar {
        width: 280px;
        height: 100%;
        position: fixed;
        top: 0; left: 0; bottom: 0;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
        z-index: 300;
        background: var(--white);
    }
    .sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 40px rgba(26,13,0,0.15);
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 299;
        backdrop-filter: blur(2px);
    }
    .sidebar-overlay.open { display: block; }

    .sidebar-logo,
    .user-card,
    .sidebar-footer { display: flex; }
    .nav-section-label { display: block; }
    .sidebar-footer { flex-direction: column; }

    .sidebar-nav {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 20px 0;
        border-top: 1px solid var(--border);
        overflow-y: auto;
        height: auto;
    }

    .nav-link {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        padding: 11px 24px;
        font-size: 14px;
        border-left: 2px solid transparent;
        border-top: none;
        border-radius: 0;
        flex: none;
        height: auto;
        text-align: left;
    }
    .nav-link:hover,
    .nav-link.active {
        border-top: none;
        border-left-color: var(--blue-mid);
        background: var(--blue-pale);
    }
    .nav-link svg { width: 18px; height: 18px; }

    /* ── Main ── */
    .main { margin-left: 0; padding-bottom: 0; min-height: 100vh; }

    /* ── Topbar ── */
    .topbar {
        padding: 0 16px;
        height: 60px;
        flex-wrap: nowrap;
        gap: 8px;
    }
    .page-title {
        font-size: 17px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .content { padding: 16px; }

    /* ── Stat cards ── */
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-bottom: 20px;
    }
    .stat-card { padding: 14px 10px; }
    .stat-value { font-size: 26px; }
    .stat-label { font-size: 10px; letter-spacing: 0; }

    /* ── Cards ── */
    .card-header { padding: 14px 16px; }
    .card-body { padding: 16px; }

    /* ── Perfil ── */
    .perfil-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 16px;
        gap: 16px;
    }
    .perfil-nombre { font-size: 1.25rem; }
    .perfil-meta { justify-content: center; gap: 10px; }
    .perfil-meta-item { font-size: 12px; }

    /* ── Formularios ── */
    .form-grid,
    .form-row { grid-template-columns: 1fr; gap: 14px; }

    /* ── Tabla ── */
    .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    table { min-width: 520px; }

    /* ── Alertas ── */
    .alert { font-size: 13px; padding: 10px 14px; }

    /* ── Botones ── */
    .form-actions { flex-direction: column; }
    .form-actions .btn { width: 100%; justify-content: center; }

    /* ── Accesos rápidos ── */
    .accesos-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

    /* ── Chart ── */
    .chart-wrap { height: 160px; }

    /* ── Paginación ── */
    .pagination { padding: 14px; gap: 4px; }
    .pagination a, .pagination span { width: 32px; height: 32px; font-size: 12px; }

    /* ── Reserva pública ── */
    .reserva-carousel { display: none; }
    .reserva-form { width: 100%; padding: 2rem 1.5rem; }

    /* ── Auth ── */
    .auth-card { grid-template-columns: 1fr; }
    .panel-left { display: none; }
}

/* ── Tablet ── */
@media (min-width: 769px) and (max-width: 1024px) {
    :root { --sidebar-w: 220px; }
    .content { padding: 24px; }
    .stats-grid { gap: 14px; }
    .stat-value { font-size: 32px; }
}

/* ── Auth form-row responsive ── */
@media (max-width: 640px) {
    .panel-right .form-row { grid-template-columns: 1fr; }
    body.layout-auth {
        background: linear-gradient(160deg, #e87722 0%, #c45e10 55%, #7a2e00 100%);
    }
}

/* ═══════════════════════════════════════════════════════════
   DASHBOARD — KPIs, GRÁFICOS, FILTROS
   (extraído de dashboard.blade.php e integrado aquí)
═══════════════════════════════════════════════════════════ */

/* Variables extra del dashboard */
:root {
    --o-main:    #e87722;
    --o-dark:    #c96015;
    --o-light:   #f0924a;
    --o-pale:    #fff3e8;
    --o-soft:    #fde8d0;
    --radius:    14px;
    --radius-sm: 8px;
    --shadow:    0 2px 20px rgba(26,13,0,0.06);
    --shadow-md: 0 8px 32px rgba(26,13,0,0.10);
    --font-body: 'DM Sans', sans-serif;
    --transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ── Topbar actions ── */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0 20px;
    flex-wrap: wrap;
}
.filter-bar-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.filter-group {
    display: flex;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 30px;
    overflow: hidden;
}
.filter-btn {
    background: none;
    border: none;
    padding: 7px 14px;
    font-size: 12px;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.filter-btn.active,
.filter-btn:hover {
    background: var(--o-main);
    color: #fff;
}
.btn-export {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 12px;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}
.btn-export:hover { background: var(--o-dark); }
.btn-export svg   { width: 14px; height: 14px; }

/* ── Subtitle / perf pill ── */
.perf-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #6ee7b7;
    border-radius: 30px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 600;
}

/* ── Date range ── */
.date-range-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 6px 12px;
}
.date-range-wrap.visible { display: flex; }
.date-range-wrap input {
    border: none;
    background: none;
    font-size: 12px;
    color: var(--ink);
    font-family: var(--font-body);
    cursor: pointer;
    width: auto;
    box-shadow: none;
}
.date-range-wrap input:focus { outline: none; box-shadow: none; }
.date-sep { color: var(--muted); font-size: 12px; }

/* ── KPI Grid ── */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.kpi-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 20px 14px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    animation: fadeUp 0.4s ease both;
}
.kpi-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--o-main), var(--o-light));
}
.kpi-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: rgba(232,119,34,0.22);
}
.kpi-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}
.kpi-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--o-pale);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.kpi-icon svg { width: 18px; height: 18px; color: var(--o-main); }
.kpi-delta {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}
.kpi-delta.up   { background: #ecfdf5; color: #059669; }
.kpi-delta.down { background: #fef2f2; color: #dc2626; }
.kpi-delta.flat { background: var(--cloud); color: var(--muted); }
.kpi-value {
    font-family: var(--font-serif);
    font-size: 30px;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 4px;
}
.kpi-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--muted);
    margin-bottom: 12px;
}
.kpi-compare {
    font-size: 11px;
    color: var(--muted);
}
.sparkline-wrap {
    height: 36px;
    margin-top: 8px;
}

/* ── Charts grids ── */
.charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}
.charts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

/* ── Panel (chart card) ── */
.panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    animation: fadeUp 0.5s ease both;
}
.panel-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.panel-title {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}
.panel-sub {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}
.panel-body { padding: 22px; }
.chart-container { position: relative; }

/* ── Filter select (inside panels) ── */
.filter-select {
    background: var(--snow);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 7px 12px;
    font-size: 12px;
    font-family: var(--font-body);
    color: var(--ink);
    cursor: pointer;
    width: auto;
}
.filter-select:focus { outline: none; border-color: var(--o-main); box-shadow: none; }

/* ── Estado de reservas legend ── */
.estados-legend {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}
.legend-dot {
    width: 8px; height: 8px;
    border-radius: 2px;
    flex-shrink: 0;
}
.legend-label { color: var(--muted); flex: 1; }
.legend-val    { font-weight: 600; color: var(--ink); }

/* ── Objetivo del Mes (progress bars) ── */
.goal-item { margin-bottom: 16px; }
.goal-item:last-child { margin-bottom: 0; }
.goal-top {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 6px;
    color: var(--ink);
}
.goal-top span:last-child { color: var(--muted); }
.goal-pct-ok  { color: var(--o-main); }
.goal-pct-low { color: var(--muted); }
.progress-track {
    height: 6px;
    background: var(--cloud);
    border-radius: 3px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--o-main), var(--o-light));
    transition: width 1s cubic-bezier(0.4,0,0.2,1);
}
.progress-fill.warning { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.progress-fill.danger  { background: linear-gradient(90deg, #ef4444, #f87171); }

/* ── Horas Pico note ── */
.horas-note {
    font-size: 11px;
    color: var(--muted);
    margin-top: 12px;
    text-align: center;
}
.horas-note strong { color: var(--o-main); }

/* ── Animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* ── Dashboard Responsive ── */
@media (max-width: 1200px) {
    .kpi-grid    { grid-template-columns: repeat(2, 1fr); }
    .charts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
    .charts-row  { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .kpi-grid       { grid-template-columns: repeat(2, 1fr); }
    .dash-actions   { flex-direction: column; align-items: flex-start; }
    .filter-group   { flex-wrap: wrap; }
    .panel-header   { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 480px) {
    .kpi-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   DASHBOARD FOTÓGRAFO — añadir al final de styles.css
═══════════════════════════════════════════════════════════ */

/* ── Perf pill ── */
.perf-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 30px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 600;
    background: var(--blue-pale);
    color: var(--sage);
    border: 1px solid rgba(232,119,34,0.25);
}
.perf-pill--green {
    background: #ecfdf5;
    color: #059669;
    border-color: #6ee7b7;
}

/* ── Badges extra (colores para estados de sesión) ── */
.badge-blue   { background: #eff6ff; color: #2563eb; }
.badge-purple { background: #faf5ff; color: #7c3aed; }
.badge-cyan   { background: #ecfeff; color: #0891b2; }

/* ── Hero ── */
.foto-hero {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    animation: fadeUp 0.35s ease both;
}
.foto-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-mid), var(--blue-soft));
}
.foto-hero::after {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,119,34,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.foto-hero__avatar {
    position: relative;
    flex-shrink: 0;
}
.foto-hero__avatar span {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-soft));
    color: #fff;
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.foto-hero__avatar img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
}
.foto-hero__status {
    position: absolute;
    bottom: 3px; right: 3px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--muted);
    border: 2px solid var(--white);
    transition: background 0.3s;
}
.foto-hero__status.active { background: #10b981; }

.foto-hero__info { flex: 1; min-width: 0; }

.foto-hero__name {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--navy);
    font-weight: 700;
    margin-bottom: 6px;
}
.foto-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 10px;
}
.foto-hero__meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.foto-hero__certs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.cert-chip {
    background: var(--blue-pale);
    color: var(--sage);
    border: 1px solid rgba(232,119,34,0.2);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 11px;
    font-weight: 500;
}
.cert-chip--more {
    background: var(--cloud);
    color: var(--muted);
    border-color: var(--border);
}

.foto-hero__quick {
    display: flex;
    gap: 28px;
    flex-shrink: 0;
    border-left: 1px solid var(--border);
    padding-left: 28px;
}
.quick-stat { text-align: center; }
.quick-stat__val {
    font-family: var(--font-serif);
    font-size: 28px;
    color: var(--blue-mid);
    line-height: 1;
}
.quick-stat__val--alert { color: #ea580c; }
.quick-stat__label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--muted);
    margin-top: 4px;
    white-space: nowrap;
}

/* ── KPIs (6 columnas) ── */
.foto-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}
.foto-kpi {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.22s cubic-bezier(0.4,0,0.2,1);
    animation: fadeUp 0.4s ease both;
}
.foto-kpi:hover {
    box-shadow: 0 8px 24px rgba(26,13,0,0.09);
    transform: translateY(-2px);
    border-color: rgba(232,119,34,0.22);
}

.foto-kpi__icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.foto-kpi__icon svg { width: 17px; height: 17px; }

.foto-kpi__icon--orange { background: var(--blue-pale); }
.foto-kpi__icon--orange svg { color: var(--blue-mid); }
.foto-kpi__icon--green  { background: #ecfdf5; }
.foto-kpi__icon--green svg  { color: #059669; }
.foto-kpi__icon--amber  { background: #fff7ed; }
.foto-kpi__icon--amber svg  { color: #ea580c; }
.foto-kpi__icon--blue   { background: #eff6ff; }
.foto-kpi__icon--blue svg   { color: #2563eb; }

.foto-kpi__val {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--navy);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.foto-kpi__label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--muted);
    margin-top: 3px;
}

/* Delta pequeño dentro del KPI valor */
.kpi-delta-small {
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-body, 'DM Sans', sans-serif);
}
.kpi-delta-small.up   { color: #059669; }
.kpi-delta-small.down { color: #dc2626; }

/* ── Grids de gráficos ── */
.foto-charts-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.foto-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}
.foto-row:last-child { margin-bottom: 0; }

/* ── Leyenda donut ── */
.foto-donut-legend {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 14px;
}

/* ── Filas de próximas sesiones ── */
.sesion-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 22px;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}
.sesion-row:last-child { border-bottom: none; }
.sesion-row:hover { background: var(--blue-pale); }

.sesion-fecha-col {
    text-align: center;
    width: 36px;
    flex-shrink: 0;
}
.sesion-dia {
    font-family: var(--font-serif);
    font-size: 22px;
    line-height: 1;
    color: var(--blue-mid);
}
.sesion-mes {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-top: 1px;
}

.sesion-info { flex: 1; min-width: 0; }
.sesion-titulo {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}
.sesion-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 11px;
    color: var(--muted);
}
.sesion-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.sesion-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    flex-shrink: 0;
}
.sesion-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    border-radius: 20px;
    background: var(--cloud);
    color: var(--muted);
}
.sesion-badge--hoy    { background: #fef3c7; color: #d97706; }
.sesion-badge--mañana { background: var(--blue-pale); color: var(--blue-mid); }
.sesion-badge--pronto { background: #ecfdf5; color: #059669; }

/* ── Tipos de sesión ── */
.tipo-item { margin-bottom: 14px; }
.tipo-item:last-child { margin-bottom: 0; }
.tipo-top {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--ink);
    margin-bottom: 5px;
}
.tipo-count { color: var(--muted); }
.tipo-count small { font-size: 10px; }

/* ── Certificaciones ── */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}
.cert-card {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    animation: fadeUp 0.4s ease both;
    background: var(--white);
}
.cert-card:hover {
    border-color: rgba(232,119,34,0.3);
    background: var(--blue-pale);
    transform: translateY(-1px);
}
.cert-card__icon {
    width: 30px; height: 30px;
    background: var(--blue-pale);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.cert-card__icon svg {
    width: 15px; height: 15px;
    color: var(--blue-mid);
}
.cert-card__name {
    font-size: 12px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.3;
}

/* ── Empty state ── */
.foto-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 24px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}
.foto-empty svg { opacity: 0.3; }

/* ── Animación base (si no existe ya) ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 1280px) {
    .foto-kpi-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
    .foto-charts-grid { grid-template-columns: 1fr; }
    .foto-row         { grid-template-columns: 1fr; }
    .foto-hero__quick { display: none; }
}
@media (max-width: 900px) {
    .foto-kpi-grid { grid-template-columns: repeat(2, 1fr); }
    .foto-hero     { flex-wrap: wrap; padding: 20px; }
}
@media (max-width: 560px) {
    .foto-kpi-grid { grid-template-columns: 1fr 1fr; }
    .certs-grid    { grid-template-columns: 1fr; }
    .sesion-meta   { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   DASHBOARD — HERO SECTION
   Reemplaza .perfil-card + .foto-kpi-grid en el dashboard.
   Usa únicamente variables existentes del :root.
═══════════════════════════════════════════════════════════ */

.dash-hero {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    animation: fadeUp 0.35s ease both;
}

.dash-hero:hover {
    box-shadow: var(--shadow-mid);
    transform: translateY(-1px);
}

/* Glow decorativo de fondo */
.dash-hero::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,119,34,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Lado izquierdo: avatar + identidad ── */
.dash-hero__left {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
}

.dash-hero__avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(270deg, var(--blue-mid), var(--sage));
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 18px rgba(232,119,34,0.35);
    outline: 3px solid var(--blue-pale);
    outline-offset: 2px;
    transition: transform 0.3s ease;
}
.dash-hero:hover .dash-hero__avatar { transform: scale(1.04); }

.dash-hero__status {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--muted);
    border: 2px solid var(--white);
    transition: background 0.3s;
}
.dash-hero__status.active {
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16,185,129,0.5);
    animation: pulse-status 2s ease infinite;
}

@keyframes pulse-status {
    0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.45); }
    70%  { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
    100% { box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

.dash-hero__identity {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.dash-hero__identity-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-hero__identity-meta {
    font-size: 11px;
    margin-top: 2px;
    color: var(--muted);
}

.dash-hero__name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dash-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 12px;
    color: var(--muted);
}

.dash-hero__meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.dash-hero__meta svg {
    width: 13px;
    height: 13px;
    color: var(--blue-mid);
    opacity: 0.8;
}

/* ── Lado derecho: KPIs compactos ── */
.dash-hero__kpis {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
    border-left: 1px solid var(--border);
    padding-left: 24px;
    position: relative;
    z-index: 1;
}

.dash-hero__kpi {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 20px;
    border-radius: var(--radius-sm);
    transition: transform 0.2s ease, background 0.2s ease;
    cursor: default;
}
.dash-hero__kpi:hover {
    transform: translateY(-2px);
    background: var(--blue-pale);
}

.dash-hero__kpi-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
    flex-shrink: 0;
}

.dash-hero__kpi-val {
    font-family: var(--font-serif);
    font-size: 28px;
    line-height: 1;
    color: var(--navy);
}
.dash-hero__kpi-val--amber { color: var(--sage); }
.dash-hero__kpi-val--green { color: #059669; }

.dash-hero__kpi-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--muted);
    margin-top: 5px;
    white-space: nowrap;
}

.dash-hero__greeting,
.dash-hero__name {
    display: none;
}

/* Mobile: se ve greeting + name, identity se oculta */
@media (max-width: 768px) {
    .dash-hero__identity { display: none; }

    .dash-hero__greeting,
    .dash-hero__name {
        display: block;
    }
}

.topbar__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

/* ── Ícono de acción (notificaciones, etc.) ── */
.topbar__icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cloud);
    color: var(--muted);
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.topbar__icon-btn i { font-size: 18px; }

.topbar__icon-btn:hover {
    background: var(--blue-pale);
    color: var(--blue-mid);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232,119,34,0.18);
}

/* ── Badge de notificación ── */
.topbar__badge {
    position: absolute;
    top: 6px;
    right: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dc2626;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 0 rgba(220,38,38,0.5);
    animation: pulse-badge 2s ease infinite;
}

@keyframes pulse-badge {
    0%   { box-shadow: 0 0 0 0 rgba(220,38,38,0.45); }
    70%  { box-shadow: 0 0 0 5px rgba(220,38,38,0); }
    100% { box-shadow: 0 0 0 0 rgba(220,38,38,0); }
}

/* ── Avatar del topbar ── */
.topbar__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-soft));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(232,119,34,0.3);
    outline: 2px solid var(--blue-pale);
    outline-offset: 2px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.topbar__avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(232,119,34,0.4);
}

/* ═══════════════════════════════════════════════════════════
   DASHBOARD — GRID PRINCIPAL (gráfico + próximas sesiones)
═══════════════════════════════════════════════════════════ */

.dash-main-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 20px;
    align-items: start;
}

/* ── Card del gráfico ── */
.dash-chart-card {
    animation: fadeUp 0.4s ease 0.05s both;
}

.dash-chart-subtitle {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
    letter-spacing: 0.2px;
}

.dash-chart-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-shrink: 0;
}

.dash-chart-total__num {
    font-family: var(--font-serif);
    font-size: 26px;
    color: var(--blue-mid);
    line-height: 1;
}

.dash-chart-total__label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--muted);
    margin-top: 3px;
}

.dash-chart-card .chart-wrap { height: 220px; }

/* ── Card de próximas sesiones ── */
.dash-proximas-card {
    animation: fadeUp 0.4s ease 0.1s both;
    height: 350px;
}


/* ═══════════════════════════════════════════════════════════
   EMPTY STATE — dashboard
═══════════════════════════════════════════════════════════ */

.dash-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 36px 20px;
    text-align: center;
}

.dash-empty-state__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--blue-pale);
    color: var(--blue-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.dash-empty-state__text {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 4px;
}

/* ── TÉRMINOS  ── */

.tc-hero {
    background: linear-gradient(135deg, var(--ink) 0%, #3d1f00 100%);
    padding: 8rem 2rem 4.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.tc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(232,119,34,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.tc-hero .section-eyebrow { position: relative; }
.tc-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.25rem);
    color: #fff;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 1rem;
    position: relative;
}
.tc-hero h1 em {
    font-style: italic;
    color: var(--blue);
    font-weight: 400;
}
.tc-hero-meta {
    color: rgba(255,255,255,0.45);
    font-size: 0.82rem;
    position: relative;
}

.navbar-landing .tc-back {
    color: #fff;
}

.navbar-landing.scrolled .tc-back {
    color: var(--muted);
}

/* ── LAYOUT ── */
.tc-layout {
    max-width: 860px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

/* ── INTRO ── */
.tc-intro {
    text-align: center;
    margin-bottom: 3.5rem;
}
.tc-intro p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
}

/* ── SECCIÓN ── */
.tc-section {
    margin-bottom: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: #fff;
    overflow: hidden;
}
.tc-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    background: var(--cloud);
    border-bottom: 1px solid var(--border);
}
.tc-section-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}
.tc-section-icon svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
}
.tc-section-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    flex: 1;
}
.tc-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 0.1em;
    background: rgba(232,119,34,0.12);
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
}
.tc-section-body {
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

/* ── REGLA ── */
.tc-rule {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}
.tc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
    flex-shrink: 0;
    margin-top: 0.52rem;
}
.tc-rule p {
    font-size: 0.91rem;
    line-height: 1.7;
    color: #4a3020;
    margin: 0;
}

/* ── ALERTA ── */
.tc-alert {
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 0.7rem 1rem;
}
.tc-alert .tc-dot { background: #dc2626; }
.tc-alert p { color: #7f1d1d; }

/* ── MODAL POP-UP ── */
.terms-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-in-out;
}

.terms-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.terms-modal-content {
    background-color: #fff;
    border-radius: 16px;
    max-height: 85vh;
    max-width: 700px;
    width: 90%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

.terms-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terms-modal-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.terms-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--muted);
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.terms-modal-close:hover {
    background: var(--cloud);
    color: var(--ink);
}

.terms-modal-body {
    overflow-y: auto;
    padding: 1.5rem;
    flex: 1;
}

.terms-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.terms-modal-btn {
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.terms-modal-btn-primary {
    background: var(--blue);
    color: #fff;
}

.terms-modal-btn-primary:hover {
    background: #d68029;
    transform: translateY(-2px);
}

.terms-modal-btn-secondary {
    background: var(--cloud);
    color: var(--ink);
}

.terms-modal-btn-secondary:hover {
    background: #e5e5e5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
    .tc-hero { padding: 3.5rem 1.25rem 3rem; }
    .tc-layout { padding: 2rem 1.1rem 4rem; }
    .tc-section-header { padding: 1rem 1.1rem; }
    .tc-section-body { padding: 1rem 1.1rem; }

    .terms-modal-content {
        max-width: 95%;
        max-height: 90vh;
    }

    .terms-modal-btn {
        flex: 1;
    }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — dashboard
═══════════════════════════════════════════════════════════ */

/* Tablet landscape / intermediate */
@media (max-width: 1100px) {
    .dash-main-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablet portrait */
@media (max-width: 900px) {
    .dash-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
    }

    .dash-hero__kpis {
        border-left: none;
        border-top: 1px solid var(--border);
        padding-left: 0;
        padding-top: 16px;
        width: 100%;
        justify-content: space-around;
    }

    .dash-hero__kpi { padding: 0 12px; }
}

/* Mobile */
@media (max-width: 600px) {
    .dash-hero__name { font-size: 1.1rem; }

    .dash-hero__kpi-val { font-size: 22px; }

    .dash-hero__meta span:last-child { display: none; } /* oculta "Desde M Y" en pantallas muy pequeñas */

    .dash-chart-card .chart-wrap { height: 180px; }
}

/* Mobile XS */
@media (max-width: 400px) {
    .dash-hero { padding: 16px; }
    .dash-hero__kpi { padding: 0 8px; }
}

/* ═══════════════════════════════════════════════════════════
   GALERÍA PREVIEW — dashboard
═══════════════════════════════════════════════════════════ */

.gal-section {
    animation: fadeUp 0.4s ease 0.15s both;
}

.gal-eyebrow {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--muted);
    margin-bottom: 3px;
}

/* ── Mosaico ── */
.gal-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 180px 180px;
    gap: 8px;
}

.gal-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--cloud);
}

.gal-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gal-item:hover img { transform: scale(1.04); }

.gal-item--tall { grid-row: span 2; }

/* Overlay con etiqueta */
.gal-item__overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 13, 0, 0);
    transition: background 0.25s;
    display: flex;
    align-items: flex-end;
    padding: 12px 14px;
}

.gal-item:hover .gal-item__overlay {
    background: rgba(26, 13, 0, 0.3);
}

.gal-item__label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: transparent;
    transition: color 0.2s 0.05s;
}

.gal-item:hover .gal-item__label {
    color: rgba(255, 255, 255, 0.92);
}

/* Tile "más fotos" */
.gal-item--more {
    background: var(--cloud);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.gal-item--more:hover {
    background: var(--blue-pale);
    border-color: rgba(232, 119, 34, 0.25);
}

.gal-more-num {
    font-family: var(--font-serif);
    font-size: 26px;
    color: var(--navy);
    line-height: 1;
}

.gal-more-txt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: var(--muted);
}

/* ── Footer de la galería ── */
.gal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.gal-footer-meta {
    font-size: 12px;
    color: var(--muted);
}

.gal-footer-meta strong {
    color: var(--navy);
    font-weight: 600;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .gal-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 160px 160px 160px;
    }
    /* En tablet el tall pasa a ocupar solo 1 fila */
    .gal-item--tall { grid-row: span 1; }
}

@media (max-width: 560px) {
    .gal-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 130px 130px 130px;
        gap: 6px;
    }
}

/* ── Errores de validación del flujo de reserva ── */
@keyframes shake-field {
    0%   { transform: translateX(0); }
    25%  { transform: translateX(-4px); }
    50%  { transform: translateX(4px); }
    75%  { transform: translateX(-3px); }
    100% { transform: translateX(0); }
}
.reserva-form .form-floating-modern input.is-invalid,
.reserva-form .form-floating-modern select.is-invalid,
.reserva-form .form-floating-modern textarea.is-invalid {
    border-bottom-color: #dc2626 !important;
    animation: shake-field 0.3s ease;
}

.dato-no-editable {
    padding: 10px 0;
    color: var(--ink);
    font-size: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* ═══════════════════════════════════════════════════════════
   PASO 4 — RESUMEN DE RESERVA
═══════════════════════════════════════════════════════════ */

/* ── Strip de metadata (fecha / hora / lugar) ── */
.resumen-meta-strip {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--snow);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    margin-bottom: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 10px;
}

.resumen-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink);
    flex: 1;
    min-width: 120px;
}

.resumen-meta-item svg {
    width: 15px;
    height: 15px;
    color: var(--blue-mid);
    flex-shrink: 0;
}

.resumen-meta-divider {
    width: 1px;
    height: 24px;
    background: var(--border);
    flex-shrink: 0;
    margin: 0 12px;
    display: none;
}

@media (min-width: 601px) {
    .resumen-meta-divider { display: block; }
}

/* ── Card sesión ── */
.resumen-card-sesion {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 14px;
    position: relative;
}

.resumen-card-sesion::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(90deg, var(--sage), var(--blue-mid));
}

.resumen-card-sesion__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px 14px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.resumen-card-sesion__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--blue-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.resumen-card-sesion__icon svg {
    width: 20px;
    height: 20px;
    color: var(--blue-mid);
}

.resumen-card-sesion__eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin: 0 0 2px;
}

.resumen-card-sesion__title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin: 0;
}

.resumen-card-sesion__body {
    padding: 14px 20px 16px;
}

.resumen-card-sesion__fotos {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--sage);
    background: var(--blue-pale);
    border: 1px solid rgba(201,96,21,0.18);
    border-radius: 20px;
    padding: 3px 10px;
    margin-bottom: 10px;
    margin-left: 0;
    flex-shrink: 0;
}

.resumen-card-sesion__fotos svg {
    width: 13px;
    height: 13px;
}

.resumen-card-sesion__desc {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* ── Card precio ── */
.resumen-card-precio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--blue-pale);
    border: 1px solid rgba(232,119,34,0.22);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
    gap: 12px;
    flex-wrap: wrap;
}

.resumen-card-precio__label {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sage);
    margin: 0 0 3px;
}

.resumen-card-precio__note {
    font-size: 0.72rem;
    color: var(--muted);
    margin: 0;
}

.resumen-card-precio__amount {
    display: flex;
    align-items: flex-start;
    gap: 3px;
    flex-shrink: 0;
}

.resumen-card-precio__currency {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--sage);
    margin-top: 5px;
    letter-spacing: 0.05em;
}

.resumen-card-precio__value {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--sage);
    line-height: 1;
}
.resumen-card-sesion__meta {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    min-width: 0;
}

.resumen-card-sesion__fotos {
    margin-left: auto;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .resumen-card-sesion__body { padding: 12px 16px 16px; }

    .resumen-card-precio__value { font-size: 1.6rem; }

    /* Ocultar icono cámara en móvil */
    .resumen-card-sesion__icon { display: none; }

    /* Header: menos padding, contenido apilado */
    .resumen-card-sesion__header {
        padding: 14px 16px 12px;
        gap: 8px;
    }

    /* El meta interno (eyebrow/título + badge fotos) se apila */
    .resumen-card-sesion__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        width: 100%;
    }

    /* Badge fotos: ancho completo, sin empujarse a la derecha */
    .resumen-card-sesion__fotos {
        margin-left: 0;
        width: fit-content;
    }

    .resumen-card-sesion__eyebrow { font-size: 0.6rem; }
    .resumen-card-sesion__title { font-size: 0.95rem; }
    .resumen-card-sesion__desc { font-size: 0.8rem; }

    /* Meta strip (fecha/hora/lugar) más compacto */
    .resumen-meta-strip {
        padding: 10px 14px;
        gap: 8px;
    }
    .resumen-meta-item { font-size: 0.78rem; min-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   CALENDARIO — Variables & Fundamentos
═══════════════════════════════════════════════════════════ */
.cal-page {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: start;
    min-width: 0;
}
.cal-page > div {
    min-width: 0;
}

/* ─── HERO HEADER ─────────────────────────────────────── */
.cal-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.cal-header__left {}

.cal-header__eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cal-header__eyebrow::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 1.5px;
    background: var(--blue-mid);
}

.cal-header__title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--navy);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.cal-header__subtitle {
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
}

.cal-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ─── LEYENDA DE ESTADOS ──────────────────────────────── */
.cal-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 20px;
}

.cal-legend__item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.3px;
}

.cal-legend__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ─── CONTENEDOR PRINCIPAL DEL CALENDARIO ────────────── */
.cal-main-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.cal-main-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sage), var(--blue-mid), var(--blue-soft));
}

.cal-main-card__inner {
    padding: 28px;
    min-width: 0;
}

/* ─── CALENDARIO CUSTOM (CSS Grid nativo) ────────────── */
.cal-toolbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}
.cal-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s ease;
    box-shadow: 0 1px 3px rgba(26,13,0,0.06);
    flex-shrink: 0;
}
.cal-nav-btn:hover {
    background: var(--blue-pale);
    border-color: rgba(232,119,34,0.3);
    color: var(--blue-mid);
    transform: translateY(-1px);
}
.cal-nav-btn svg { width: 16px; height: 16px; }

.cal-toolbar__title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 400;
    color: var(--navy);
    min-width: 180px;
    text-align: center;
}

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 4px;
}
.cal-weekdays > div {
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--muted);
    background: var(--cloud);
    padding: 10px 0;
}
.cal-weekdays > div:first-child { border-radius: 8px 0 0 8px; }
.cal-weekdays > div:last-child  { border-radius: 0 8px 8px 0; }

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.cal-day {
    min-height: 96px;
    min-width: 0;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    transition: background 0.15s;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}
.cal-day:hover { background: rgba(255,243,232,0.5); }
.cal-day--otro-mes { opacity: 0.4; }
.cal-day--hoy {
    background: rgba(232,119,34,0.05);
    border-color: rgba(232,119,34,0.3);
}
.cal-day__numero {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
}
.cal-day--hoy .cal-day__numero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--blue-mid);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 11px;
}
.cal-day__eventos {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.cal-day__evento {
    font-size: 10px;
    font-weight: 600;
    padding: 3px 6px;
    border-radius: 5px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: transform 0.15s, filter 0.15s;
}
.cal-day__evento:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}
.cal-day__evento--oculto { display: none; }
.cal-day__mas {
    font-size: 9px;
    font-weight: 700;
    color: var(--blue-mid);
    background: var(--blue-pale);
    border-radius: 4px;
    padding: 2px 6px;
    cursor: pointer;
    width: fit-content;
}

@media (max-width: 700px) {
    .cal-day { min-height: 64px; padding: 5px; }
    .cal-day__numero { font-size: 11px; }
    .cal-day__evento { font-size: 8px; padding: 2px 4px; }
    .cal-toolbar__title { font-size: 16px; min-width: auto; }
}

/* ─── SIDEBAR PANEL ───────────────────────────────────── */
.cal-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 100px;
}

/* Panel de evento seleccionado */
.cal-detail-panel {
    display: none;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.cal-detail-panel.is-visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.cal-detail-panel__accent {
    height: 4px;
    background: linear-gradient(90deg, var(--sage), var(--blue-mid));
}

.cal-detail-panel__body {
    padding: 24px;
}

.cal-detail-panel__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 28px;
    height: 28px;
    background: var(--cloud);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: all 0.15s;
    font-size: 16px;
    line-height: 1;
}

.cal-detail-panel__close:hover {
    background: var(--blue-pale);
    color: var(--navy);
}

.cal-detail-panel__header {
    position: relative;
    margin-bottom: 20px;
}

.cal-detail-panel__eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 6px;
}

.cal-detail-panel__title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--navy);
    line-height: 1.3;
    padding-right: 36px;
}

.cal-detail-panel__rows {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cal-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(200,96,21,0.07);
}

.cal-detail-row:last-child {
    border-bottom: none;
}

.cal-detail-row__icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--cloud);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.cal-detail-row__icon svg {
    width: 15px;
    height: 15px;
    color: var(--blue-mid);
}

.cal-detail-row__label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
}

.cal-detail-row__value {
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.4;
}

/* Badge de estado en el panel */
.estado-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.estado-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.8;
}

.estado-confirmada   { background: #ecfdf5; color: #059669; }
.estado-pendiente    { background: #fffbeb; color: #d97706; }
.estado-completada   { background: var(--cloud); color: var(--muted); }
.estado-cancelada    { background: #fef2f2; color: #dc2626; }
.estado-default      { background: var(--blue-pale); color: var(--blue-mid); }

/* Panel vacío (sin evento seleccionado) */
.cal-empty-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.cal-empty-panel__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--cloud);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.cal-empty-panel__icon svg {
    width: 26px;
    height: 26px;
    color: var(--muted);
}

.cal-empty-panel__title {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 6px;
}

.cal-empty-panel__text {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
}

/* Panel de resumen mensual */
.cal-summary-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.cal-summary-panel__header {
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--border);
}

.cal-summary-panel__title {
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 400;
    color: var(--navy);
}

.cal-summary-panel__body {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cal-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--snow);
    transition: background 0.15s;
}

.cal-stat-row:hover {
    background: var(--cloud);
}

.cal-stat-row__left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cal-stat-row__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cal-stat-row__label {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
}

.cal-stat-row__count {
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--navy);
    font-weight: 400;
}

/* ─── MODAL MEJORADO ──────────────────────────────────── */
.cal-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(26, 13, 0, 0.45);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cal-modal-overlay.is-open {
    display: flex;
    animation: cal-overlay-in 0.2s ease;
}

@keyframes cal-overlay-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.cal-modal {
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    box-shadow: var(--shadow-hard);
    animation: cal-modal-in 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cal-modal-in {
    from { opacity: 0; transform: scale(0.92) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.cal-modal__accent {
    height: 5px;
    background: linear-gradient(90deg, var(--sage), var(--blue-mid), var(--blue-soft));
}

.cal-modal__header {
    padding: 24px 28px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.cal-modal__eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 5px;
}

.cal-modal__title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--navy);
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.cal-modal__close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--cloud);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: all 0.15s;
    flex-shrink: 0;
    font-size: 18px;
    line-height: 1;
}

.cal-modal__close:hover {
    background: var(--blue-pale);
    border-color: rgba(232,119,34,0.3);
    color: var(--navy);
}

.cal-modal__body {
    padding: 20px 28px 28px;
}

.cal-modal__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.cal-modal__field {
    background: var(--snow);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    transition: border-color 0.15s;
}

.cal-modal__field:hover {
    border-color: rgba(232,119,34,0.25);
}

.cal-modal__field--full {
    grid-column: 1 / -1;
}

.cal-modal__field-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.cal-modal__field-value {
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.4;
}

.cal-modal__footer {
    padding: 0 28px 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.cal-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.18s ease;
    border: none;
    font-family: var(--font-sans);
    text-decoration: none;
}

.cal-btn--primary {
    background: linear-gradient(135deg, var(--sage), var(--blue-mid));
    color: #fff;
    box-shadow: 0 4px 12px rgba(232,119,34,0.3);
}

.cal-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(232,119,34,0.4);
}

.cal-btn--ghost {
    background: var(--cloud);
    color: var(--muted);
}

.cal-btn--ghost:hover {
    background: var(--blue-pale);
    color: var(--navy);
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1100px) {
    .cal-page {
        grid-template-columns: 1fr;
    }
    .cal-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .cal-sidebar > * {
        flex: 1;
        min-width: 260px;
    }
    .cal-detail-panel {
        order: -1;
    }
}

@media (max-width: 700px) {
    .cal-main-card__inner {
        padding: 16px;
    }
    .cal-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 20px;
    }
    .cal-header__actions {
        width: 100%;
        justify-content: space-between;
    }
    .cal-legend {
        gap: 10px;
    }
    #calendario .fc .fc-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    #calendario .fc .fc-toolbar-title {
        font-size: 16px;
    }
    #calendario .fc .fc-button {
        padding: 6px 10px !important;
        font-size: 12px !important;
    }
    .cal-modal__grid {
        grid-template-columns: 1fr;
    }
    .cal-sidebar {
        flex-direction: column;
    }
}

/* ─── Vista de lista (listWeek) — estilo consistente con la paleta ─── */
#calendario .fc .fc-list-day-cushion {
    background: var(--cloud) !important;
}
#calendario .fc .fc-list-event:hover td {
    background: var(--blue-pale) !important;
    cursor: pointer;
}
#calendario .fc .fc-list-event-dot {
    border-color: var(--blue-mid) !important;
}
#calendario .fc-theme-standard .fc-list-day-cushion .fc-list-day-text,
#calendario .fc-theme-standard .fc-list-day-cushion .fc-list-day-side-text {
    color: var(--navy) !important;
    font-weight: 600;
}
#calendario .fc .fc-list-event-title {
    color: var(--navy);
    font-weight: 500;
    font-size: 13px;
}
#calendario .fc .fc-list-event-time {
    color: var(--muted);
    font-size: 12px;
}
#calendario .fc .fc-list-table td {
    border-color: var(--border) !important;
}

/* ═══════════════════════════════════════════════════════════
   RESERVAS — estilos completos controlados desde CSS
═══════════════════════════════════════════════════════════ */

/* Lista contenedora */
.reserva-lista {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Card vacía */
.reserva-empty {
    text-align: center;
    padding: 60px;
    color: var(--muted);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
}

/* Card principal */
.reserva-card-f {
    border-radius: 14px;
}

.reserva-card-f-body {
    padding: 28px;
}

/* ── Header ── */
.reserva-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.reserva-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 4px;
    color: var(--navy);
}

.reserva-id {
    font-size: 12px;
    color: var(--muted);
}

.reserva-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin-bottom: 20px;
}

/* ── Labels reutilizables ── */
.dato-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.dato-sublabel {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 2px;
}

.dato-valor {
    display: block;
    font-size: 14px;
    color: var(--ink);
}

.dato-valor--precio {
    color: var(--navy);
    font-weight: 500;
}

/* ── Grid datos principales ── */
.reserva-grid-datos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.reserva-dato {
    display: flex;
    flex-direction: column;
}

/* ── Descripción ── */
.reserva-descripcion {
    background: var(--cloud);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
}

.reserva-descripcion .dato-label {
    margin-bottom: 8px;
}

.reserva-descripcion-texto {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* ── Info del cliente ── */
.reserva-cliente {
    margin-bottom: 20px;
}

.reserva-cliente > .dato-label {
    margin-bottom: 12px;
}

.reserva-grid-cliente {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* ── Paneles (propuesta / rechazo) ── */
.reserva-panel {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-top: 4px;
    margin-bottom: 20px;
}

.reserva-panel > .dato-label {
    margin-bottom: 12px;
}

.reserva-panel-form .form-group {
    margin-bottom: 16px;
}

.panel-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
}

.panel-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.panel-chip {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    color: var(--navy);
    cursor: pointer;
    text-align: left;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.panel-chip:hover,
.panel-chip.panel-chip--activo {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.panel-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}

.panel-textarea:focus {
    outline: none;
    border-color: var(--blue-mid);
}

.panel-actions {
    display: flex;
    gap: 10px;
}

/* ── Botones de acción ── */
.reserva-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.reserva-actions form {
    display: contents; /* el form no rompe el grid */
}

.btn-aprobar {
    width: 100%;
    justify-content: center;
    background: #2e7d52;
    border-color: #2e7d52;
    color: #fff;
}

.btn-aprobar:hover {
    background: #246643;
    border-color: #246643;
}

.btn-sugerir {
    width: 100%;
    justify-content: center;
    background: var(--blue-mid);
    border-color: var(--blue-mid);
    color: #fff;
}

.btn-sugerir:hover {
    background: var(--sage);
    border-color: var(--sage);
}

.btn-rechazar {
    width: 100%;
    justify-content: center;
    background: transparent;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.btn-rechazar:hover {
    background: #fef2f2;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Sesión cerrada */
.reserva-cerrada {
    font-size: 13px;
    color: #2e7d52;
    display: flex;
    justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE MOBILE
═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

    /* Menos padding en mobile */
    .reserva-card-f-body {
        padding: 16px;
    }

    /* Header: badge debajo del título */
    .reserva-header {
        flex-direction: column;
        gap: 10px;
    }

    .reserva-titulo {
        font-size: 20px;
    }

    .reserva-id {
        font-size: 13px;
    }

    /* Labels más legibles */
    .dato-label {
        font-size: 11px;
        letter-spacing: 1px;
    }

    .dato-sublabel {
        font-size: 13px;
    }

    /* Valores más grandes */
    .dato-valor {
        font-size: 15px;
    }

    /* Grid datos: 2 columnas */
    .reserva-grid-datos {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    /* Grid cliente: 1 columna */
    .reserva-grid-cliente {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* Descripción */
    .reserva-descripcion-texto {
        font-size: 14px;
        line-height: 1.7;
    }

    /* Textarea: font-size 16px evita zoom automático en iOS */
    .panel-textarea {
        font-size: 16px;
        min-height: 120px;
    }

    .panel-label {
        font-size: 15px;
    }

    /* Botones de acción: 1 columna, más altos para touch */
    .reserva-actions {
        grid-template-columns: 1fr;
    }

    .reserva-actions .btn,
    .btn-aprobar,
    .btn-sugerir {
        min-height: 52px;
        font-size: 15px;
    }

    /* Botones de panel también más grandes */
    .panel-actions {
        flex-direction: column;
    }

    .panel-actions .btn {
        min-height: 48px;
        font-size: 15px;
        justify-content: center;
    }
}

.rf-pg {
    padding: 1.25rem 1rem;
}

.rf-alert {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 12px;
}
.rf-alert--danger  { background: #FCEBEB; color: #A32D2D; border: 0.5px solid #F09595; }
.rf-alert--success { background: #EAF3DE; color: #3B6D11; border: 0.5px solid #97C459; }

.rf-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 14px;
}

.rf-hero {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.rf-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #DBEAFE;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 600;
    color: #1E40AF;
    flex-shrink: 0;
    letter-spacing: -0.5px;
}

.rf-hero__info {
    flex: 1;
    min-width: 0;
}

.rf-hero__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.rf-hero__sub {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
}

.rf-hero__sub span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rf-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.rf-badge--warn { background: #FEF3DC; color: #C07800; }
.rf-badge--succ { background: #D1FAE5; color: #065F46; }
.rf-badge--dang { background: #FEE2E2; color: #991B1B; }
.rf-badge--mod  { background: #FEF3C7; color: #854D0E; }
.rf-badge--sec  { background: var(--bg); color: var(--muted); }

.rf-precio-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 20px;
    background: var(--bg, #f9f9f9);
    border-bottom: 1px solid var(--border);
}

.rf-strip-lbl {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
}

.rf-precio-val {
    font-size: 22px;
    font-weight: 600;
    color: var(--navy);
}

.rf-strip-val {
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    margin-top: 2px;
}

.rf-details {
    padding: 4px 0 8px;
}

.rf-det-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 20px;
    border-bottom: 1px solid var(--border);
}

.rf-det-row:last-child {
    border-bottom: none;
}

.rf-det-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--bg, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--muted);
}

.rf-det-body {
    flex: 1;
    min-width: 0;
}

.rf-det-lbl {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
}

.rf-det-val {
    font-size: 13px;
    font-weight: 500;
    color: var(--navy);
    line-height: 1.4;
    word-break: break-word;
}

.rf-det-sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

/* Estado */

.rf-estado-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    margin-bottom: 14px;
}

.rf-estado-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.rf-estado-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.rf-estado-sub {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

.rf-estado-motivo {
    font-size: 13px;
    color: var(--navy);
    line-height: 1.5;
    background: var(--bg);
    border-radius: 8px;
    padding: 10px 12px;
    margin: 8px 0 12px;
    border: 1px solid var(--border);
}

.rf-estado-card--succ { border-color: #6EE7B7; background: #F0FDF4; }
.rf-estado-card--dang { border-color: #FCA5A5; background: #FEF2F2; }
.rf-estado-card--warn { border-color: #FCD34D; background: #FFFBEB; }
.rf-estado-card--mod  { border-color: #FCD34D; background: #FFFBEB; }

/* Acciones */

.rf-act-header {
    padding: 16px 20px 0;
}

.rf-act-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--muted);
}

.rf-act-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 14px 20px;
}

.rf-abtn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--navy);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    text-align: center;
    line-height: 1.2;
    font-family: inherit;
}

.rf-abtn:hover { background: var(--bg); }
.rf-abtn.a-ap { background: #D1FAE5; border-color: #6EE7B7; color: #065F46; }
.rf-abtn.a-mo { background: #DBEAFE; border-color: #93C5FD; color: #1E40AF; }
.rf-abtn.a-re { background: #FEE2E2; border-color: #FCA5A5; color: #991B1B; }

.rf-motivo-wrap {
    padding: 0 20px 14px;
    flex-direction: column;
    gap: 6px;
}

.rf-motivo-lbl {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.rf-motivo-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}
.rf-motivo-chip {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    color: var(--navy);
    cursor: pointer;
    text-align: left;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.rf-motivo-chip:hover,
.rf-motivo-chip.rf-motivo-chip--activo {
    background: #E8A020;
    border-color: #E8A020;
    color: #fff;
}

.rf-motivo-ta,
.rf-modal-textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    resize: vertical;
    color: var(--navy);
    background: var(--white);
    line-height: 1.5;
    font-family: inherit;
}

.rf-motivo-ta {
    min-height: 88px;
}

.rf-modal-textarea {
    min-height: 80px;
}

.rf-motivo-ta:focus,
.rf-modal-textarea:focus {
    outline: none;
    border-color: #E8A020;
    box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.12);
}

.rf-btn-submit,
.rf-btn-responder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.15s;
}

.rf-btn-submit {
    width: 100%;
    padding: 12px;
    border-radius: 9px;
    border: none;
    background: var(--navy);
    color: #fff;
}

.rf-btn-responder {
    background: var(--navy);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 9px 18px;
}

.rf-btn-submit:hover,
.rf-btn-responder:hover {
    opacity: 0.85;
}

.rf-processed {
    padding: 16px 20px;
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.rf-processed strong {
    color: var(--navy);
}

/* Modal */

.rf-modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 200;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.rf-modal-backdrop.open {
    display: flex;
}

.rf-modal {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    width: 100%;
    max-width: 480px;
    margin: 16px;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,0.18);
    animation: rfModalIn 0.22s ease;
}

@keyframes rfModalIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.rf-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    padding: 4px;
    border-radius: 6px;
    transition: background 0.15s;
}

.rf-modal-close:hover {
    background: var(--bg);
}

.rf-modal-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 4px;
}

.rf-modal-sub {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 16px;
}

.rf-modal-motivo {
    background: var(--bg);
    border-radius: 10px;
    padding: 14px;
    font-size: 13px;
    color: var(--navy);
    line-height: 1.6;
    margin-bottom: 20px;
    border: 1px solid var(--border);
}

.rf-modal-acciones {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rf-modal-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    display: block;
    margin-bottom: 6px;
}

.rf-modal-btn {
    width: 100%;
    padding: 11px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: none;
}

.rf-modal-btn--succ { background: #16a34a; color: #fff; }
.rf-modal-btn--outline { background: var(--white); border: 1px solid var(--border) !important; color: var(--navy); }
.rf-modal-btn--primary { background: var(--navy); color: #fff; }
.rf-modal-btn--dang { background: #dc2626; color: #fff; }

.rf-modal-btn:hover {
    opacity: 0.88;
}

@media (max-width: 440px) {
    .rf-act-btns {
        grid-template-columns: 1fr;
    }

    .rf-abtn {
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 14px;
        gap: 10px;
    }

    .rf-precio-val {
        font-size: 18px;
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.75);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal-comprobante img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 8px;
}

/* ===== Pagos Pendientes ===== */

.pagos-pendientes {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
}

.pago-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #f1e4d6;
    border-left: 4px solid var(--blue-mid, #e87722);
    border-radius: 14px;
    text-decoration: none;
    color: var(--navy, #1a0f00);
    box-shadow: 0 2px 8px rgba(26, 15, 0, 0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.pago-card:hover,
.pago-card:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 119, 34, 0.18);
    border-color: var(--blue-mid, #e87722);
}

.pago-card:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(26, 15, 0, 0.08);
}

.pago-card__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pago-card__monto {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy, #1a0f00);
    line-height: 1.1;
}

.pago-card__tipo {
    display: inline-block;
    width: fit-content;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--blue-mid, #e87722);
    background: var(--blue-pale, #fff3e8);
    padding: 3px 10px;
    border-radius: 999px;
}

.pago-card__cta {
    flex-shrink: 0;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue-mid, #e87722);
    white-space: nowrap;
    transition: transform 0.18s ease;
}

.pago-card:hover .pago-card__cta {
    transform: translateX(3px);
}

/* Estado vacío */
.pagos-pendientes > p {
    text-align: center;
    color: #8a7a6b;
    font-size: 0.95rem;
    padding: 40px 16px;
}

/* Desktop: grid de 2 columnas */
@media (min-width: 768px) {
    .pagos-pendientes {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 24px;
    }
}

/* ===== Panel OCR ===== */
.ocr-panel {
    margin: 16px 0;
    padding: 16px;
    border-radius: 12px;
    background: #fafafa;
    border: 1px solid #ece4da;
}

.ocr-panel--procesado { border-left: 4px solid #2a9d5c; }
.ocr-panel--fallido   { border-left: 4px solid #e74c3c; }
.ocr-panel--pendiente { border-left: 4px solid #f0a500; }

.ocr-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.ocr-panel__titulo {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b5c4e;
}

.ocr-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ocr-badge--procesado { background: #eafaf1; color: #2a9d5c; }
.ocr-badge--fallido   { background: #fdecea; color: #e74c3c; }
.ocr-badge--pendiente { background: #fff8e6; color: #f0a500; }

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

.ocr-campo {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ocr-campo--full { grid-column: 1 / -1; }

.ocr-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #9e8c7e;
}

.ocr-valor {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy, #1a0f00);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ocr-valor--mono {
    font-family: monospace;
    font-size: 0.85rem;
}

.ocr-esperado {
    font-size: 0.72rem;
    color: #9e8c7e;
}

.ocr-match { font-size: 0.85rem; }
.ocr-match--ok    { color: #2a9d5c; }
.ocr-match--error { color: #e74c3c; }

.ocr-fallido-msg {
    font-size: 0.88rem;
    color: #9e8c7e;
    margin: 0;
}

.ocr-toggle {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.78rem;
    color: var(--blue-mid, #e87722);
    cursor: pointer;
    font-weight: 600;
    text-align: left;
}

.ocr-texto {
    margin-top: 8px;
    padding: 10px 12px;
    background: #f0ebe5;
    border-radius: 8px;
    font-size: 0.78rem;
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
    color: #3d2b1a;
    max-height: 200px;
    overflow-y: auto;
}


/* ═══════════════════════════════════════════════════════════
   SISTEMA DE NOTIFICACIONES — compartido entre los 3 roles
   ═══════════════════════════════════════════════════════════ */

/* ── Badge (puntito) sobre el botón hamburguesa del navbar flotante ── */
.navbar-hamburger-wrap {
    position: relative;
    display: none;
    align-items: center;
}

.navbar-hamburger__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--blue-mid);
    border: 1.5px solid rgba(255, 136, 0, 0.71); /* el borde blanco es lo que lo separa visualmente del hamburger */
    pointer-events: none;
}

/* ── Ítem "Notificaciones" dentro del drawer mobile ── */
.mobile-notif-link {
    display: flex;
    align-items: center;
    gap: 10px;
}
.mobile-notif-badge {
    margin-left: auto;
    background: var(--error);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
    line-height: 1.4;
}

/* ── Toolbar "Marcar todas como leídas" dentro del panel ── */
.notif-dropdown__toolbar {
    display: flex;
    justify-content: flex-end;
    padding: 8px 18px;
    border-bottom: 1px solid var(--border);
}

/* ── Overlay detrás del panel — solo aplica en mobile ── */
.notif-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 998;
}
.notif-overlay.is-open { display: block; }
@media (min-width: 769px) {
    .notif-overlay { display: none !important; }
}

/* Botón de cerrar (X) — solo visible en el modo pantalla completa */
.notif-dropdown__close {
    display: none;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: inherit;
}

.notif-wrap { position: relative; }

.notif-dropdown {
    position: fixed;
    width: 340px;
    max-height: 420px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-mid);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 200;
}
.notif-dropdown.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.notif-dropdown__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
}
.notif-dropdown__title {
    font-family: var(--font-serif);
    font-size: 15px;
    font-weight: 600;
    color: var(--navy);
}
.notif-dropdown__mark-all {
    background: none;
    border: none;
    font-size: 11px;
    font-weight: 600;
    color: var(--blue-mid);
    cursor: pointer;
    padding: 0;
}
.notif-dropdown__mark-all:hover { color: var(--sage); text-decoration: underline; }
.notif-dropdown__list { overflow-y: auto; max-height: 340px; }
.notif-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background: var(--blue-pale); }
.notif-item__icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--blue-pale);
    color: var(--blue-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.notif-item.no-leida .notif-item__icon {
    background: linear-gradient(135deg, var(--blue-mid), var(--sage));
    color: #fff;
}
.notif-item__body { flex: 1; min-width: 0; }
.notif-item__titulo { font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.notif-item__mensaje { font-size: 12px; color: var(--muted); line-height: 1.4; }
.notif-item__fecha { font-size: 10px; color: var(--muted); margin-top: 4px; }
.notif-item.no-leida::after {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--blue-mid);
    flex-shrink: 0;
    margin-top: 4px;
}
.notif-dropdown__empty { padding: 40px 20px; text-align: center; color: var(--muted); font-size: 13px; }

/* ── Panel de notificaciones → pantalla completa (tarjeta) en mobile ── */
@media (max-width: 768px) {
    .notif-dropdown.is-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        width: 92%;
        height: 45%;
        max-height: none;
        border-radius: 35px;
        border: none;
        box-shadow: none;
        background: var(--white);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        z-index: 998;
        margin: 90px 18px 0 17px;
    }
    .notif-overlay {
        background: rgba(0, 0, 0, .1);
    }
    .notif-dropdown__header {
        padding-top: calc(16px + env(safe-area-inset-top, 0px));
        padding-bottom: 16px;
        flex-shrink: 0;
    }
    .notif-dropdown__title {
        font-size: 18px;
    }
    .notif-dropdown__close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
    }
    .notif-dropdown__toolbar {
        flex-shrink: 0;
        padding: 10px 18px;
    }
    .notif-dropdown__list {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .notif-item {
        padding: 16px 18px;
        gap: 14px;
    }
    .notif-item__icon {
        width: 42px;
        height: 42px;
    }
    .notif-item__titulo {
        font-size: 15px;
    }
    .notif-item__mensaje {
        font-size: 13px;
    }
    .notif-item__fecha {
        font-size: 11px;
    }
    .notif-dropdown__empty {
        padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px));
    }
}


/* ============================================
   MODAL DE CONFIRMACIÓN — nómina pagada
   (patrón de animación igual al de galeria.css)
   ============================================ */
.mp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 900;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
}
.mp-overlay.open { display: flex; }

.mp-panel {
    width: 100%;
    max-width: 420px;
    margin: 16px;
    padding: 28px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    animation: mpModalIn 0.2s ease;
}
@keyframes mpModalIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mp-titulo { margin: 0 0 10px; font-size: 18px; }
.mp-texto { font-size: 13px; color: var(--muted); margin-bottom: 20px; line-height: 1.5; }
.mp-acciones { margin-bottom: 10px; }
.mp-acciones .btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.mp-cancelar {
    width: 100%;
    background: none;
    border: none;
    color: var(--muted);
    font-size: 13px;
    padding: 8px;
    cursor: pointer;
}

.config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.config-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.config-field label {
    font-size: 13px;
    color: var(--muted);
}

.config-field input,
.config-field select {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 14px;
}

.config-toggle-row {
    margin-bottom: 16px;
}

.config-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    width: fit-content;
}

.config-toggle-label {
    margin: 0;
    font-size: 15px;
    text-transform: none;   /* opcional: quita las mayúsculas */
    letter-spacing: normal; /* opcional */
    white-space: nowrap;
    cursor: pointer;
}

.config-nota {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
}

.config-acciones {
    margin-top: 20px;
    text-align: right;
}

.alert-success {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 20px;


    .config-toggle input[type="checkbox"] {
        width: 18px;
        height: 18px;
        padding: 0;
        border-radius: 4px;
        flex-shrink: 0;
    }
}
