/* RM Sport — Estilos v4 (Landing canchera + overlay + grilla 4x4) */

:root {
    --navy: #0f1b2d;
    --navy-mid: #1a2744;
    --navy-light: #243456;
    --white: #ffffff;
    --green: #00c853;
    --green-dark: #00a344;
    --green-glow: rgba(0, 200, 83, 0.35);
    --gray: #f3f4f6;
    --gray-dark: #999;
    --red: #dc3545;
    --yellow: #ffc107;
    --yellow-soft: #fff8e1;
    --text: #222;
    --text-light: #666;
    --radius: 8px;
    --radius-lg: 16px;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.5;
}

/* ===== HEADER ===== */
.header {
    background: var(--navy);
    color: var(--white);
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--green);
}

.header-content {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo { display: flex; align-items: center; gap: 10px; }
.logo { width: 34px; height: 34px; border-radius: 50%; }
.header-text { display: flex; flex-direction: column; }
.header h1 { font-size: 1rem; font-weight: 800; line-height: 1.2; letter-spacing: 0.5px; }
.header-tagline { font-size: 0.65rem; opacity: 0.5; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; }
.header-ig { color: var(--white); text-decoration: none; font-size: 0.78rem; opacity: 0.6; transition: opacity 0.15s; }
.header-ig:hover { opacity: 1; }

/* ===== HERO ===== */
.hero {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 80px 20px 68px;
    position: relative;
    overflow: hidden;
}

/* Hero carousel */
.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide-active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
    pointer-events: none;
}

.hero-inner {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    max-width: 280px;
    display: block;
    margin: 0 auto 1rem;
}

.hero-divider {
    width: 48px;
    height: 3px;
    background: var(--green);
    margin: 0 auto 16px;
    border-radius: 2px;
}

.hero-sub {
    font-size: 1.2rem;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 6px;
}

.hero-detail {
    font-size: 0.85rem;
    opacity: 0.45;
    margin-bottom: 36px;
    letter-spacing: 0.5px;
}

.btn-hero {
    background: var(--green);
    color: var(--navy);
    font-size: 1.2rem;
    padding: 20px 52px;
    border-radius: 60px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s;
    box-shadow: 0 0 40px var(--green-glow), 0 4px 20px rgba(0,0,0,0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-hero:hover {
    background: #00e65b;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 60px rgba(0, 200, 83, 0.5), 0 8px 30px rgba(0,0,0,0.3);
}

.btn-hero:active { transform: translateY(-1px); }
.btn-hero-icon { font-size: 1.2rem; }

.btn-hero-fijo {
    background: #2e7d32;
    color: var(--white);
    font-size: 0.85rem;
    padding: 12px 32px;
    border-radius: 60px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s;
    display: block;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.btn-hero-fijo:hover {
    background: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* ===== SECTIONS ===== */
.section {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
}

.section h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--navy);
    font-weight: 800;
}

.section-desc {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.92rem;
}

.section-header-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.section-header-row h2 { margin-bottom: 0; }

.section-badge {
    background: var(--navy);
    color: var(--green);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== QUICK INFO CARDS ===== */
.section-quick {
    background: var(--gray);
    padding: 36px 20px;
}

.quick-grid {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

@media (max-width: 768px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .quick-grid { grid-template-columns: 1fr; } }

.quick-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: 1.5px solid transparent;
    transition: all 0.15s;
    text-decoration: none;
    color: inherit;
}

.quick-card-link {
    cursor: pointer;
    border-color: #e0e0e0;
}

.quick-card-link:hover {
    border-color: var(--green);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Título inline: emoji + texto en la misma línea */
.quick-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.quick-icon { font-size: 1.2rem; line-height: 1; }

.quick-card strong {
    color: var(--navy);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-card span { color: var(--text-light); font-size: 0.85rem; }

.quick-action {
    color: var(--green-dark) !important;
    font-size: 0.75rem !important;
    font-weight: 600;
    margin-top: 4px;
}

/* ===== SOLOS Y SOLAS ===== */
.sys-scroll-container {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    padding-top: 14px;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
}

.sys-scroll-container::-webkit-scrollbar { height: 4px; }
.sys-scroll-container::-webkit-scrollbar-track { background: var(--gray); border-radius: 4px; }
.sys-scroll-container::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }

.sys-card {
    background: var(--white);
    border: 2px solid #ddd;
    border-radius: var(--radius-lg);
    padding: 18px 16px;
    text-align: center;
    min-width: 190px;
    max-width: 210px;
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: all 0.15s;
}

.sys-card.cupo-completo {
    border-color: var(--green);
    background: #e8f5e9;
}

.sys-card.es-hoy {
    border-color: var(--yellow);
    border-width: 3px;
    background: var(--yellow-soft);
    position: relative;
}

/* Badge HOY arriba de la tarjeta, junto a la fecha */
.sys-card.es-hoy::before {
    content: 'HOY';
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--yellow);
    color: var(--navy);
    font-size: 0.6rem;
    font-weight: 800;
    padding: 2px 12px;
    border-radius: 10px;
    letter-spacing: 0.5px;
    z-index: 1;
}

.sys-contador {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin: 6px 0;
}

.sys-maximo {
    font-size: 0.75rem;
    color: var(--gray-dark);
    margin-bottom: 2px;
}

.sys-faltan {
    font-size: 0.82rem;
    color: var(--text-light);
}

.sys-card .btn { margin-top: 10px; width: 100%; }

.sys-aviso {
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
}

.aviso-sys-modal {
    margin-top: 14px;
    padding: 10px 12px;
    background: var(--yellow-soft);
    border: 1px solid var(--yellow);
    border-radius: var(--radius);
    font-size: 0.78rem;
    color: #7a6520;
    text-align: center;
    line-height: 1.4;
}

/* ===== HORARIO FIJO ===== */
.section-org {
    background: var(--navy);
    padding: 48px 20px;
}

.org-inner {
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.org-inner h2 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.org-inner p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 24px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.92rem;
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }
.wa-icon { font-size: 1.1rem; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s;
}

.btn-reservar {
    background: var(--green);
    color: var(--navy);
    width: 100%;
    padding: 12px;
    border-radius: var(--radius);
    font-weight: 700;
}

.btn-reservar:hover { background: var(--green-dark); color: var(--white); }

/* ===== OVERLAY ===== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 300;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 48px;
}

.overlay-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
}

.overlay-panel {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 92%;
    max-width: 480px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.2s ease-out;
}

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

.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px 12px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    z-index: 2;
}

.overlay-header h3 { color: var(--navy); font-size: 1rem; font-weight: 700; }

.overlay-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--gray-dark);
    padding: 2px 6px;
    border-radius: var(--radius);
}

.overlay-close:hover { background: var(--gray); color: var(--text); }

.paso { padding: 14px 20px 20px; }

/* ===== SEMANA NAV ===== */
.semana-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 6px;
}

.semana-label {
    font-weight: 700;
    font-size: 0.82rem;
    text-align: center;
    color: var(--navy);
}

.btn-nav {
    background: var(--navy);
    color: var(--white);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.85rem;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.btn-nav:hover { background: var(--navy-light); }

.btn-nav:disabled,
.btn-nav.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ===== GRILLA COMPACTA 4x4 ===== */
.grilla-compact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.grilla-dia-header {
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--navy);
    padding: 4px 0;
    border-bottom: 2px solid var(--navy);
    margin-bottom: 6px;
    text-transform: capitalize;
}

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

.slot-chip {
    background: var(--white);
    border: 1.5px solid var(--green);
    border-radius: 5px;
    padding: 5px 2px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.1s;
    color: var(--text);
    text-align: center;
    line-height: 1;
}

.slot-chip:hover {
    background: var(--green);
    color: var(--white);
    transform: scale(1.08);
}

.slot-chip.disabled {
    background: #f0f0f0;
    border-color: #e0e0e0;
    color: #bbb;
    cursor: not-allowed;
    text-decoration: line-through;
}

.slot-chip.disabled:hover {
    transform: none;
    background: #f0f0f0;
    color: #bbb;
}

/* ===== PASO 2: CONFIRMAR ===== */
.btn-volver {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 0.82rem;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    margin-bottom: 14px;
}

.btn-volver:hover { color: var(--navy); }

.confirmar-detalle {
    background: var(--gray);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    margin-bottom: 18px;
}

.confirmar-dia { font-size: 0.88rem; color: var(--text-light); margin-bottom: 4px; }
.confirmar-hora { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.confirmar-precio { font-size: 1.1rem; font-weight: 700; color: var(--green-dark); }

.paso form input {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 8px;
    border: 1.5px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.88rem;
    transition: border-color 0.15s;
}

.paso form input:focus { outline: none; border-color: var(--navy); }

.aviso-cancelacion {
    margin-top: 12px;
    padding: 10px 12px;
    background: var(--yellow-soft);
    border: 1px solid var(--yellow);
    border-radius: var(--radius);
    font-size: 0.76rem;
    color: #7a6520;
    text-align: center;
    line-height: 1.4;
}

.aviso-cancelacion strong { color: #5a4a10; }

/* ===== MODAL (SyS) ===== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    width: 90%;
    max-width: 380px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--gray-dark);
}

.modal h3 { color: var(--navy); margin-bottom: 8px; font-size: 1rem; }
.reserva-detalle { color: var(--text-light); margin-bottom: 16px; font-size: 0.9rem; }

.modal form input {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 8px;
    border: 1.5px solid #ddd;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.88rem;
}

.modal form input:focus { outline: none; border-color: var(--navy); }

/* ===== MESSAGES ===== */
.msg {
    padding: 12px;
    border-radius: var(--radius);
    margin-top: 12px;
    font-size: 0.88rem;
}

.msg.success { background: #e8f5e9; color: var(--green-dark); }
.msg.error { background: #fce4ec; color: var(--red); }

.loading {
    color: var(--gray-dark);
    text-align: center;
    padding: 20px;
    font-size: 0.88rem;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 24px 20px;
    text-align: center;
    border-top: 2px solid var(--green);
}

.footer-content { display: flex; justify-content: center; gap: 24px; margin-bottom: 8px; }
.footer-content a { color: var(--white); text-decoration: none; opacity: 0.7; font-size: 0.88rem; }
.footer-content a:hover { opacity: 1; }
.footer-credit { font-size: 0.7rem; opacity: 0.35; }

/* ===== MOBILE ===== */
@media (max-width: 600px) {
    .hero { padding: 56px 20px 48px; }
    .hero-title { font-size: 2.4rem; }
    .btn-hero { font-size: 1.05rem; padding: 18px 36px; }
    .overlay-panel { width: 96%; max-height: 88vh; }
    .slot-chip { padding: 4px 1px; font-size: 0.68rem; }
}

/* ===== HERO DISPONIBILIDAD ===== */
.hero-dispo { margin-top: 18px; font-size: 0.82rem; opacity: 0.7; font-weight: 500; letter-spacing: 0.3px; }

/* ===== DOBLE CONFIRMACIÓN ===== */
.doble-confirm { text-align: center; padding: 20px 0 8px; }
.doble-confirm p { font-size: 0.9rem; color: var(--text); margin-bottom: 6px; }
.doble-confirm .detalle-confirm { font-size: 0.82rem; color: var(--text-light); margin-bottom: 16px; }
.doble-confirm-btns { display: flex; gap: 10px; }
.btn-cancelar-confirm { background: var(--gray); color: var(--text); flex: 1; padding: 10px; border: none; border-radius: var(--radius); font-family: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; }
.btn-cancelar-confirm:hover { background: #e0e0e0; }
.btn-si-confirm { background: var(--green); color: var(--navy); flex: 1; padding: 10px; border: none; border-radius: var(--radius); font-family: inherit; font-size: 0.88rem; font-weight: 700; cursor: pointer; }
.btn-si-confirm:hover { background: var(--green-dark); color: var(--white); }

/* ===== FOOTER FEEDBACK ===== */
.footer-feedback { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white) !important; padding: 5px 14px; border-radius: 20px; font-size: 0.75rem !important; opacity: 0.8 !important; transition: all 0.15s; }
.footer-feedback:hover { background: rgba(255,255,255,0.2) !important; opacity: 1 !important; }

/* ===== ADMIN ===== */

/* Login */
.login-form { max-width: 340px; margin: 60px auto; background: var(--white); padding: 32px; border-radius: var(--radius-lg); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.login-form h2 { color: var(--navy); font-size: 1.2rem; margin-bottom: 20px; text-align: center; }
.login-form input { width: 100%; padding: 10px 12px; margin-bottom: 10px; border: 1.5px solid #ddd; border-radius: var(--radius); font-family: inherit; font-size: 0.9rem; }
.login-form input:focus { outline: none; border-color: var(--navy); }
.btn-logout { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: var(--white); padding: 5px 14px; border-radius: 20px; font-size: 0.75rem; font-family: inherit; cursor: pointer; }

/* Tabs */
.admin-tabs { display: flex; gap: 4px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-tab { padding: 10px 20px; border: none; background: var(--white); border-radius: var(--radius) var(--radius) 0 0; cursor: pointer; font-family: inherit; font-size: 0.82rem; font-weight: 600; color: var(--text-light); transition: all 0.15s; }
.admin-tab.active { background: var(--navy); color: var(--white); }
.admin-tab:hover:not(.active) { background: #e8e8e8; }
.admin-panel { display: none; background: var(--white); border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg); padding: 24px; }
.admin-panel.active { display: block; }

/* Day selector */
.dia-selector { display: flex; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.dia-btn { padding: 8px 14px; border: 1.5px solid #ddd; background: var(--white); border-radius: var(--radius); cursor: pointer; font-family: inherit; font-size: 0.75rem; font-weight: 600; color: var(--text-light); transition: all 0.15s; }
.dia-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.dia-btn:hover:not(.active) { border-color: var(--green); color: var(--text); }
.dia-btn.es-hoy { border-color: var(--yellow); background: var(--yellow-soft); }
.dia-btn.es-hoy.active { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }

/* Admin slots */
.admin-slot { padding: 10px 14px; border-radius: 8px; margin: 4px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; }
.admin-slot .slot-info { display: flex; align-items: center; gap: 10px; }
.admin-slot .slot-hora { font-weight: 700; min-width: 50px; }
.admin-slot .slot-estado { font-size: 0.75rem; }
.slot-libre { background: #c8e6c9; border-left: 4px solid var(--green); }
.slot-reservado { background: #ffcdd2; border-left: 4px solid var(--red); }
.slot-recurrente { background: #fff9c4; border-left: 4px solid var(--yellow); }
.slot-bloqueado { background: #e0e0e0; border-left: 4px solid #777; }
.slot-cerrado { background: #ffebee; border-left: 4px solid #ef9a9a; opacity: 0.7; }
.slot-cerrado .slot-estado { color: #c62828; font-weight: 600; }
.slot-pagado { background: #1E3A5F !important; border-left: 4px solid #1E3A5F !important; color: white; }
.slot-pagado .slot-hora, .slot-pagado .slot-estado { color: white; }
.dia-cerrado-banner { background: #fff3e0; border: 1px solid #ffb74d; border-radius: 8px; padding: 8px 14px; margin-bottom: 8px; font-size: 0.8rem; color: #e65100; text-align: center; }
.dia-btn.dia-cerrado { opacity: 0.5; text-decoration: line-through; }
.admin-slot-actions { display: flex; gap: 4px; }
.btn-sm { padding: 4px 10px; border: none; border-radius: 4px; cursor: pointer; font-size: 0.7rem; font-family: inherit; font-weight: 600; }
.btn-sm-red { background: var(--red); color: white; }
.btn-sm-green { background: var(--green); color: white; }
.btn-sm-navy { background: var(--navy); color: white; }
.btn-sm-yellow { background: var(--yellow); color: var(--navy); }
.btn-sm-gray { background: #999; color: white; }
.btn-sm-pago { background: #1E3A5F; color: white; }

/* SyS partido cards */
.sys-partido { background: var(--white); border: 1.5px solid #ddd; border-radius: var(--radius-lg); padding: 16px; margin-bottom: 14px; }
.sys-partido-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.sys-partido-header h4 { color: var(--navy); font-size: 0.9rem; }

/* Badges */
.badge { padding: 3px 10px; border-radius: 12px; font-size: 0.68rem; font-weight: 700; }
.badge-green { background: #e8f5e9; color: var(--green-dark); }
.badge-yellow { background: #fff9c4; color: #f57f17; }
.badge-red { background: #fce4ec; color: var(--red); }
.badge-gray { background: #e0e0e0; color: #555; }

/* Inscriptos */
.inscripto-item { background: var(--gray); padding: 8px 12px; border-radius: 6px; margin: 4px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; gap: 8px; }
.inscripto-item .nombre { font-weight: 600; }
.inscripto-item .contacto { color: var(--text-light); font-size: 0.72rem; }

/* Estado buttons (inscriptos) */
.estado-btns { display: flex; gap: 3px; }
.estado-btn { padding: 3px 8px; border: 1.5px solid #ddd; border-radius: 4px; cursor: pointer; font-size: 0.65rem; font-weight: 600; font-family: inherit; background: var(--white); color: var(--text-light); transition: all 0.1s; }
.estado-btn.sel-pendiente { background: var(--yellow-soft); border-color: var(--yellow); color: #f57f17; }
.estado-btn.sel-reconfirmado { background: #e8f5e9; border-color: var(--green); color: var(--green-dark); }
.estado-btn.sel-cancelo { background: #fce4ec; border-color: var(--red); color: var(--red); }

/* Copy WA button */
.btn-copy { background: #25D366; color: white; padding: 6px 14px; border: none; border-radius: var(--radius); cursor: pointer; font-family: inherit; font-size: 0.78rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; }

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
@media (max-width: 600px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card { background: var(--gray); padding: 20px; border-radius: var(--radius-lg); text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat-label { font-size: 0.75rem; color: var(--text-light); margin-top: 4px; }
.btn-export { background: var(--navy); color: var(--white); padding: 10px 24px; border: none; border-radius: var(--radius); cursor: pointer; font-family: inherit; font-size: 0.85rem; font-weight: 600; }

/* Config form */
.config-form label { display: block; margin-top: 14px; font-weight: 600; font-size: 0.82rem; color: var(--navy); }
.config-form input, .config-form select, .config-form textarea { width: 100%; padding: 10px 12px; border: 1.5px solid #ddd; border-radius: var(--radius); font-family: inherit; font-size: 0.88rem; margin-top: 4px; }
.config-form input:focus, .config-form select:focus, .config-form textarea:focus { outline: none; border-color: var(--navy); }
.config-form textarea { resize: vertical; min-height: 60px; }
.config-section { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid #eee; }
.config-section h4 { color: var(--navy); font-size: 0.9rem; margin-bottom: 4px; }
.config-section p { color: var(--text-light); font-size: 0.78rem; }
.hora-select { width: auto; display: inline-block; min-width: 100px; }

/* Recurrentes */
.recurrente-item { background: var(--gray); padding: 12px 16px; border-radius: var(--radius); margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.recurrente-info { font-size: 0.85rem; }
.recurrente-info strong { color: var(--navy); }
.recurrente-info span { color: var(--text-light); font-size: 0.75rem; }
.recurrente-notas { color: var(--text-light); font-size: 0.72rem; font-style: italic; margin-top: 2px; }

/* SyS config section (toggles) */
.sys-config-section { background: var(--gray); padding: 16px; border-radius: var(--radius-lg); margin-bottom: 20px; }
.sys-config-section h4 { color: var(--navy); margin-bottom: 8px; font-size: 0.85rem; }
.sys-toggles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.sys-slot-toggle { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: var(--white); border-radius: var(--radius); border: 1.5px solid #e0e0e0; font-size: 0.82rem; }
.sys-slot-toggle.activo { border-color: var(--green); background: #f0faf4; }
.toggle-switch { width: 40px; height: 22px; border-radius: 11px; background: #ccc; cursor: pointer; position: relative; transition: background 0.2s; flex-shrink: 0; }
.toggle-switch.on { background: var(--green); }
.toggle-switch::after { content: ''; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transition: transform 0.2s; }
.toggle-switch.on::after { transform: translateX(18px); }
.btn-delete-sys { background: none; border: none; cursor: pointer; font-size: 0.9rem; color: var(--red); padding: 2px 4px; opacity: 0.6; transition: opacity 0.15s; }
.btn-delete-sys:hover { opacity: 1; }
.btn-add-sys { background: var(--green); color: var(--navy); padding: 8px 16px; border: none; border-radius: var(--radius); cursor: pointer; font-family: inherit; font-size: 0.82rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.btn-add-sys:hover { background: var(--green-dark); color: var(--white); }

/* Admin modal overlay */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 200; justify-content: center; align-items: center; }
.modal-overlay.open { display: flex; }
.modal-overlay .modal-content { background: var(--white); border-radius: var(--radius-lg); padding: 24px; max-width: 500px; width: 90%; max-height: 80vh; overflow-y: auto; }
.modal-overlay .modal-content h3 { color: var(--navy); margin-bottom: 14px; font-size: 1rem; }
.modal-dia-selector { display: flex; gap: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.modal-dia-btn { padding: 8px 14px; border: 1.5px solid #ddd; background: var(--white); border-radius: var(--radius); cursor: pointer; font-family: inherit; font-size: 0.75rem; font-weight: 600; color: var(--text-light); transition: all 0.15s; }
.modal-dia-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.modal-time-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 16px; }
.modal-time-slot { padding: 10px; border: 1.5px solid #ddd; border-radius: var(--radius); text-align: center; cursor: pointer; font-size: 0.82rem; font-weight: 600; color: var(--text-light); transition: all 0.15s; }
.modal-time-slot.selected { background: var(--green); color: var(--white); border-color: var(--green-dark); }
.modal-time-slot:hover:not(.selected) { border-color: var(--green); color: var(--text); }
.btn-modal-close { background: none; border: 1.5px solid #ddd; padding: 8px 20px; border-radius: var(--radius); cursor: pointer; font-family: inherit; font-size: 0.82rem; font-weight: 600; color: var(--text-light); }
.btn-modal-save { background: var(--green); color: var(--navy); padding: 8px 20px; border: none; border-radius: var(--radius); cursor: pointer; font-family: inherit; font-size: 0.82rem; font-weight: 700; }

/* Download Excel */
.btn-download-excel { background: var(--navy); color: var(--white); padding: 8px 18px; border: none; border-radius: var(--radius); cursor: pointer; font-family: inherit; font-size: 0.82rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; }
.btn-download-excel:hover { background: var(--navy-light); }

/* Checkbox labels for recurrentes */
.checkbox-label { display: flex; align-items: center; gap: 4px; margin: 0; font-weight: 400; font-size: 0.82rem; cursor: pointer; }
