/* =========================================================
   RESERVAS SIXT — styles_v3.css
   Entorno de prueba, aislado de css/styles.css
   ========================================================= */

:root {
    /* Base — blanco/gris neutro, no cálido, no oscuro */
    --bg-canvas: #f5f6f8;
    --bg-surface: #ffffff;
    --bg-input: #ffffff;
    --bg-disabled: #eef0f3;
    --border: #e0e3e9;
    --border-strong: #c7cbd4;

    /* Texto */
    --text-primary: #14161c;
    --text-muted: #5c6270;
    --text-faint: #9aa0ac;

    /* Acento — naranja Sixt, usado con cuenta gotas */
    --accent: #ff5f00;
    --accent-hover: #e55300;
    --accent-soft: #fff1e8;
    --accent-ring: rgba(255, 95, 0, 0.18);

    /* Estados */
    --ok: #1f9d55;
    --ok-bg: #e8f7ee;
    --warn: #b8860a;
    --warn-bg: #fdf3d8;
    --danger: #c0293c;
    --danger-bg: #fbe3e6;

    --radio: 10px;
    --radio-sm: 8px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--bg-canvas);
    color: var(--text-primary);
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Solo datos operativos de referencia van en mono: fichas, montos, códigos */
.dato-destacado, .precio-total, .precio-detalle,
input[name="ficha_gx"], #badgeTotal, #totalParcialExtras,
.celda-ficha {
    font-family: "JetBrains Mono", ui-monospace, monospace;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

a { color: inherit; }

/* ===================== HEADER ===================== */
/* Los logos (anda.png, sixt.png) son PNG blancos — por eso el header
   necesita una base oscura acotada. El resto de la app queda clara. */

header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 28px;
    background: #14171f;
    border-bottom: 1px solid #262b38;
}

header img {
    height: 26px;
    opacity: 0.95;
}

.badge-v2 {
    font-size: 12px;
    font-weight: 600;
    color: #f2b134;
    background: rgba(242, 177, 52, 0.14);
    border: 1px solid rgba(242, 177, 52, 0.35);
    padding: 4px 10px;
    border-radius: 999px;
}

.user-menu { margin-left: auto; cursor: pointer; }

.user-icon {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #262b38;
    padding: 4px;
    opacity: 0.95;
    transition: opacity 0.15s ease;
}

.user-icon:hover { opacity: 1; }

header a {
    margin-left: auto;
    font-size: 13px;
    color: #9aa0ac;
    text-decoration: none;
}

header a:hover { color: var(--accent); }

/* ===================== CONTAINER ===================== */

.reservas-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 36px 24px 64px;
}

/* ===================== LOGIN ===================== */
/* Mismo patrón split-screen que el resto de los sistemas de IGOMEZ:
   foto a la izquierda con overlay, panel blanco de acceso a la derecha.
   Usa azul (no el naranja de Sixt) para mantener esa identidad propia. */

.login-screen {
    display: flex;
    min-height: 100vh;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
}

.login-hero {
    flex: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 56px;
    color: #fff;
    background-color: #16202e;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.login-hero-top {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.badge-v2--hero { margin-left: auto; }

.login-hero-logos { display: flex; align-items: center; gap: 12px; }
.login-hero-logos img { height: 22px; }

.login-hero-divider { width: 1px; height: 18px; background: rgba(255,255,255,0.3); }

.login-hero-sistema {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
}

.login-hero-body { max-width: 480px; }

.login-hero-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.login-hero-body h1 {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}

.login-hero-body p {
    font-size: 15px;
    color: rgba(255,255,255,0.78);
    max-width: 380px;
}

.login-hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255,255,255,0.18);
    padding-top: 20px;
}

.login-hero-stats strong { display: block; font-size: 20px; font-weight: 800; }
.login-hero-stats span { font-size: 12px; color: rgba(255,255,255,0.65); }

.login-panel {
    flex: none;
    width: 440px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-left: 1px solid var(--border);
}

.login-panel-inner { width: 100%; max-width: 340px; }

.login-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2f5fdb;
    margin-bottom: 8px;
}

.login-panel-inner h2 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.login-subtitle { font-size: 14px; color: var(--text-muted); margin: 0 0 22px; }

.login-panel-inner form { margin-top: 4px; }

.login-panel-inner label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    margin: 16px 0 6px;
}

.login-panel-inner label:first-of-type { margin-top: 0; }

.login-panel-inner input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #dbe4fa;
    border-radius: var(--radio-sm);
    background: #eef2fb;
    color: var(--text-primary);
    font-size: 14px;
    font-family: "Plus Jakarta Sans", sans-serif;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.login-panel-inner input::placeholder { color: var(--text-faint); }

.login-panel-inner input:focus {
    outline: none;
    border-color: #2f5fdb;
    box-shadow: 0 0 0 3px rgba(47, 95, 219, 0.18);
}

.login-panel-inner button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    margin-top: 20px;
    background: #2f5fdb;
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radio-sm);
    cursor: pointer;
    transition: background 0.15s ease;
}

.login-panel-inner button svg { width: 16px; height: 16px; }
.login-panel-inner button:hover { background: #244ec2; }

.error {
    color: var(--danger);
    background: var(--danger-bg);
    border: 1px solid rgba(192, 41, 60, 0.25);
    padding: 10px 14px;
    border-radius: var(--radio-sm);
    font-size: 13px;
    margin-bottom: 4px;
}

.login-panel-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.login-panel-footer p {
    font-size: 12px;
    color: var(--text-faint);
    margin: 0 0 12px;
    line-height: 1.5;
}

.login-panel-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.login-panel-links a {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    padding: 7px 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.login-panel-links a:hover { border-color: #2f5fdb; color: #2f5fdb; background: #eef2fb; }

/* Botón "Administración" — idéntico al de "Ingresar al sistema",
   apilado justo debajo (no vive en la fila de links secundarios). */
.login-btn-solid {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: #2f5fdb;
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    border-radius: var(--radio-sm);
    text-decoration: none;
    transition: background 0.15s ease;
}

.login-btn-solid:hover { background: #244ec2; color: #fff; }

.login-credit { font-size: 11.5px !important; color: var(--text-faint) !important; }
.login-credit a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 860px) {
    .login-screen { flex-direction: column; width: 100%; margin-left: 0; transform: none; min-height: auto; }
    .login-hero { padding: 28px 24px; }
    .login-hero-stats { gap: 24px; flex-wrap: wrap; }
    .login-hero-body h1 { font-size: 26px; }
    .login-panel { width: 100%; border-left: none; border-top: 1px solid var(--border); }
}

/* ===================== BIENVENIDA ===================== */

h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.reservas-container > p { color: var(--text-muted); font-size: 14.5px; }

.home-panel { max-width: 560px; margin: 12px auto 0; }
.home-panel h1 { margin-bottom: 22px; }

.home-meta {
    display: flex;
    gap: 32px;
    padding: 18px 0;
    margin-bottom: 28px;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.home-meta .dato-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-faint);
}

.home-meta .dato-valor {
    font-size: 15px;
    font-weight: 600;
    margin-top: 3px;
}

.home-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-actions-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radio);
    background: var(--bg-surface);
    text-decoration: none;
    color: var(--text-primary);
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.1s ease;
}

.action-card:hover { border-color: var(--border-strong); background: var(--bg-canvas); }
.action-card:active { transform: scale(0.99); }

.action-icon {
    flex: none;
    width: 22px;
    height: 22px;
    color: var(--text-faint);
}

.action-text { display: flex; flex-direction: column; gap: 2px; }
.action-title { font-size: 15px; font-weight: 700; }
.action-desc { font-size: 13px; color: var(--text-muted); }

/* La acción principal ocupa todo el ancho y pesa más — el resto es
   secundario, en vez de tres cajas idénticas en fila. */
.action-card--primary {
    border-color: var(--accent);
    background: var(--accent-soft);
    padding: 24px 22px;
}

.action-card--primary .action-icon { width: 28px; height: 28px; color: var(--accent); }
.action-card--primary .action-title { font-size: 17px; color: var(--accent-hover); }
.action-card--primary:hover { background: #ffe6d6; }

.home-actions-row .action-card { flex-direction: column; align-items: flex-start; gap: 10px; }

@media (max-width: 520px) {
    .home-actions-row { grid-template-columns: 1fr; }
}

/* ===================== STEPPER ===================== */

.stepper {
    display: flex;
    justify-content: space-between;
    margin: 8px 0 34px;
    position: relative;
}

.step { text-align: center; flex: 1; position: relative; }

.step::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 50%;
    width: 100%;
    height: 1px;
    background: var(--border);
    z-index: -1;
}

.step:last-child::after { display: none; }

.circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    color: var(--text-muted);
    line-height: 30px;
    margin: auto;
    font-weight: 700;
    font-size: 13px;
}

.label { margin-top: 8px; font-size: 12px; color: var(--text-faint); }

.step.active .circle { background: var(--accent); border-color: var(--accent); color: #fff; }
.step.active .label { color: var(--text-primary); font-weight: 600; }

.step.done .circle { background: var(--ok); border-color: var(--ok); color: #fff; }
.step.done::after { background: var(--ok); }

.titulo-step { text-align: left; margin-bottom: 22px; font-weight: 700; font-size: 19px; }

/* ===================== FORMULARIOS ===================== */

form label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    margin: 16px 0 6px;
}

form label:first-of-type { margin-top: 0; }

form select,
form input[type="text"],
form input[type="password"],
form input[type="date"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radio-sm);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 14px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

form select:disabled, form input:disabled {
    background: var(--bg-disabled);
    color: var(--text-faint);
    cursor: not-allowed;
}

form select:focus, form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-ring);
}

form hr { border: none; border-top: 1px solid var(--border); margin: 22px 0; }

form > button, .btn-continuar {
    width: 100%;
    padding: 13px;
    margin-top: 20px;
    background: var(--accent);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 14.5px;
    border-radius: var(--radio-sm);
    cursor: pointer;
    transition: background 0.15s ease;
}

form > button:hover, .btn-continuar:hover { background: var(--accent-hover); }

.btn-volver {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 0;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
}

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

/* ===================== EXTRAS ===================== */

.extras-container { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }

.extra-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    border-radius: var(--radio);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    transition: border-color 0.15s ease;
}

.extra-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

.extra-info h3 { margin: 0; font-size: 15px; font-weight: 600; }
.extra-info span { font-size: 12.5px; color: var(--text-faint); }

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

.contador button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-strong);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 16px;
    border-radius: var(--radio-sm);
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.contador button:hover { border-color: var(--accent); color: var(--accent); }

.contador input {
    width: 38px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    border: none;
    background: transparent;
    color: var(--text-primary);
}

@keyframes bump {
    0% { transform: scale(1); }
    40% { transform: scale(1.22); color: var(--accent); }
    100% { transform: scale(1); }
}

.contador input.bump { animation: bump 0.2s ease; }

/* SWITCH */
.switch { position: relative; display: inline-block; width: 44px; height: 25px; }
.switch input { opacity: 0; width: 0; height: 0; }

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: var(--bg-disabled);
    border: 1px solid var(--border-strong);
    transition: 0.2s;
    border-radius: 999px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 17px;
    width: 17px;
    left: 3px;
    top: 3px;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
    transition: 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 50%;
}

.switch input:checked + .slider { background-color: var(--accent); border-color: var(--accent); }
.switch input:checked + .slider:before { transform: translateX(19px); }

#totalParcialExtras {
    margin: 24px 0 6px;
    text-align: left;
    font-size: 21px;
    font-weight: 800;
    color: var(--text-primary);
    cursor: pointer;
}

#totalParcialExtras span { color: var(--accent); }

/* ===================== VEHÍCULOS ===================== */

.cards-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    width: 100vw;
    max-width: 1080px;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 0 24px;
}

.chip-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--border-strong);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.chip-toggle:hover { border-color: var(--accent); }

.chip-group { display: flex; gap: 6px; }

.chip-filter {
    padding: 8px 14px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.chip-filter:hover { border-color: var(--border-strong); }

.chip-filter.active {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: #fff;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
    margin-top: 6px;
    padding: 0 24px;
    /* Se "escapa" del ancho angosto de .reservas-container (pensado
       para formularios) para poder mostrar más autos por fila. */
    width: 100vw;
    max-width: 1080px;
    margin-left: 50%;
    transform: translateX(-50%);
}

.cards .card {
    border-radius: var(--radio);
    overflow: hidden;
    border: 1px solid var(--border);
    outline: 3px solid transparent;
    outline-offset: 3px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, outline-color 0.15s ease;
}

/* Solo las tarjetas seleccionables (con botón real) muestran el aro
   naranja al pasar el mouse; las "no disponible" no invitan a hacer clic. */
.cards .card:has(button.card-select):hover {
    transform: translateY(-2px);
    outline-color: var(--accent);
    box-shadow: 0 10px 24px rgba(20, 22, 28, 0.18);
}

.card-form { margin: 0; height: 100%; }

/* La tarjeta entera es el botón de selección: fondo de estudio de
   sixt.uy (public/img/fondoweb.webp) — el degradé y la imagen van
   inline desde el PHP (misma ruta que el resto de las imágenes del
   sitio), acá solo el resto del estilo estructural. */
.card-select {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 390px;
    padding: 16px 16px 18px;
    border: none;
    margin: 0;
    text-align: left;
    font-family: inherit;
    color: #fff;
    cursor: pointer;
    background-color: #14161c;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: filter 0.15s ease;
}

.card-select:active { filter: brightness(0.96); }

.card-select--disabled {
    cursor: default;
    filter: grayscale(0.6) brightness(0.7);
}

.card-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }

.badge-chip {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 3px 9px;
    border-radius: 999px;
    backdrop-filter: blur(2px);
}

.card-title {
    font-size: 16px;
    margin: 0;
    font-weight: 700;
    line-height: 1.25;
}

.card-title span { font-weight: 400; color: rgba(255, 255, 255, 0.65); font-size: 13px; }

.card-photo {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 8px 4px 0;
    min-height: 130px;
}

.card-photo img {
    width: 100%;
    max-width: 92%;
    height: auto;
    filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.5));
}

.card-feature {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 8px;
}

.card-feature svg { width: 15px; height: 15px; flex: none; color: var(--ok); }

.no-disponible {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: rgba(192, 41, 60, 0.85);
    padding: 6px 10px;
    border-radius: var(--radio-sm);
    margin: 0;
    display: inline-block;
}

.precio-tachado {
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin: 0 0 1px;
}

.precio-total { font-size: 21px; font-weight: 800; margin: 0; color: #fff; }
.precio-unidad { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.65); margin-left: 2px; }
.precio-detalle { font-size: 12px; color: rgba(255, 255, 255, 0.65); margin: 2px 0 0; }

.card-notes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

.nota-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
}

.nota-tag--aic { color: #14161c; background: var(--warn); }
.nota-tag--ok { color: #14161c; background: var(--ok); }

/* ===================== RESUMEN (STEP 5) ===================== */

div[style*="background:#f4f4f4"] {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border);
    color: var(--text-primary) !important;
}

div[style*="background:#f4f4f4"] hr { border-top: 1px solid var(--border); }
div[style*="background:#f4f4f4"] h2 { font-size: 21px; margin-top: 4px; }
div[style*="background:#f4f4f4"] h3 { font-size: 13px; color: var(--text-muted); }

.fecha-destacada {
    font-family: "JetBrains Mono", ui-monospace, monospace;
    background: var(--accent-soft);
    color: var(--accent-hover);
    padding: 2px 7px;
    border-radius: 5px;
    font-weight: 700;
}
div[style*="color:green"] { color: var(--ok) !important; }
div[style*="color:red"] { color: var(--danger) !important; }
div[style*="color:#666"] { color: var(--text-faint) !important; }

/* ===================== MODALES ===================== */

div[id^="modal"] > div[style*="background:#fff"],
div[id^="modal"] > div[style*="background:white"] {
    background: var(--bg-surface) !important;
    border: 1px solid var(--border);
    color: var(--text-primary) !important;
    box-shadow: 0 12px 32px rgba(20, 22, 28, 0.12);
}

div[id^="modal"] h3 { color: var(--text-primary); }
div[id^="modal"] hr { border-top: 1px solid var(--border); }

div[id^="modal"] button {
    background: var(--accent);
    border: none;
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--radio-sm);
    font-weight: 600;
    cursor: pointer;
    font-size: 13.5px;
}

div[id^="modal"] button:hover { background: var(--accent-hover); }

/* ===================== LOADERS ===================== */

#textoLoader { color: var(--text-muted) !important; }

/* ===================== ACCESIBILIDAD ===================== */

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 640px) {
    .reservas-container { padding: 20px 16px 48px; }
    .cards { grid-template-columns: 1fr; padding: 0 16px; }
    .cards-toolbar { padding: 0 16px; }
    header { padding: 14px 18px; flex-wrap: wrap; gap: 10px; }
}