/* ============================================================
   socios.css — Portal de Reservas Restaurant Sport Francés
   Paleta: steelblue (primary), blanco #fff, gris claro #f8f9fa
   Tipografía: Roboto (body) + Poppins (headings) — alineado con sitio Porto
   Usa tokens del design system (design-system.css)
   ============================================================ */

/* ---------- Layout base ---------- */
.socios-body {
    background-color: #f0f2f5;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.socios-main {
    flex: 1;
}

/* ---------- Headings: Poppins ---------- */
.socios-body h1, .socios-body h2, .socios-body h3,
.socios-body h4, .socios-body h5, .socios-body h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* ---------- Navbar (blanca, estilo Porto) ---------- */
.socios-navbar {
    background-color: #fff;
    border-top: 3px solid #ededed;
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow 0.3s ease;
}

.socios-navbar-scrolled {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.socios-navbar-logo {
    max-height: 50px;
    width: auto;
}

.socios-navbar .navbar-brand,
.socios-navbar .nav-link,
.socios-brand {
    color: #444 !important;
    font-weight: 500;
}

.socios-navbar .nav-link:hover:not(.disabled) {
    color: var(--steel-500) !important;
}

.socios-navbar .nav-link.disabled {
    color: #adb5bd !important;
    cursor: default;
}

.socios-navbar .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.15);
}

.socios-user-info {
    color: #6c757d !important;
    font-size: 0.9rem;
}

.socios-logout-link {
    color: #999 !important;
    transition: color 0.15s;
    font-size: 0.9rem;
}

.socios-logout-link:hover {
    color: var(--steel-500) !important;
}

/* ---------- Footer (oscuro, 4 columnas — estilo Porto) ---------- */
.socios-footer {
    background-color: #212529;
    color: #999;
    padding: 60px 0 0;
    margin-top: auto;
}

.socios-footer-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr 1.2fr 1fr;
    gap: 35px;
}

.socios-footer-logo-col {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.socios-footer-logo {
    max-width: 130px;
    height: auto;
    filter: brightness(0) invert(1);
}

.socios-footer-title {
    color: var(--steel-500);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.socios-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.socios-footer-contact-item {
    display: flex;
    flex-direction: column;
    font-size: 0.88rem;
}

.socios-footer-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #777;
    margin-bottom: 2px;
}

.socios-footer-value {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

.socios-footer-value:hover {
    color: var(--steel-400);
}

.socios-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.socios-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #ccc;
    font-size: 1rem;
    transition: all 0.2s;
    text-decoration: none;
}

.socios-footer-social a:hover {
    background-color: var(--steel-500);
    color: #fff;
    transform: translateY(-2px);
}

.socios-footer-horarios {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.socios-footer-horario-row {
    display: flex;
    flex-direction: column;
    font-size: 0.88rem;
}

.socios-footer-horario-dia {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1px;
}

.socios-footer-horario-hora {
    color: #aaa;
    font-size: 0.84rem;
}

.socios-footer-apps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.socios-footer-app-desc {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.5;
    margin-bottom: 0;
}

.socios-footer-app-badge img {
    height: 48px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.socios-footer-app-badge:hover img {
    opacity: 1;
}

.socios-footer-bottom {
    background-color: #1a1d21;
    padding: 18px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 0.82rem;
    color: #777;
}

.socios-footer-bottom p {
    margin: 0;
}

/* Footer responsive */
@media (max-width: 991.98px) {
    .socios-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 575.98px) {
    .socios-footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .socios-footer {
        padding: 40px 0 0;
    }
    .socios-footer-logo-col {
        justify-content: flex-start;
    }
    .socios-footer-title {
        margin-bottom: 15px;
    }
}

/* ---------- Login page (standalone full-page) ---------- */
.socios-login-bg {
    background: linear-gradient(135deg, var(--steel-900) 0%, var(--steel-700) 50%, var(--steel-500) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.socios-login-card {
    max-width: 420px;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    padding: 2.5rem 2rem;
}

@media (max-width: 575.98px) {
    .socios-login-card {
        max-width: 100%;
        border-radius: 8px;
        padding: 2rem 1.25rem;
    }
}

.socios-logo {
    text-align: center;
    margin-bottom: 1.75rem;
}

.socios-logo img {
    max-height: 56px;
    filter: brightness(0) saturate(100%) invert(35%) sepia(30%) saturate(800%) hue-rotate(170deg) brightness(90%);
}

.socios-login-title {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--steel-800);
    margin-bottom: 0.25rem;
}

.socios-login-subtitle {
    text-align: center;
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1.75rem;
}

/* ---------- Botón principal socios (pill shape — estilo sitio real) ---------- */
.socios-btn-primary {
    background-color: var(--steel-500);
    border-color: var(--steel-500);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 9999px;
    transition: background-color 0.15s, border-color 0.15s;
}

.socios-btn-primary:hover,
.socios-btn-primary:focus {
    background-color: var(--steel-600);
    border-color: var(--steel-600);
    color: #fff;
}

.socios-btn-primary:active {
    background-color: var(--steel-700);
    border-color: var(--steel-700);
    color: #fff;
}

/* ---------- RUT input feedback ---------- */
.rut-valid {
    border-color: #198754 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
    padding-right: calc(1.5em + .75rem);
}

.rut-invalid {
    border-color: #dc3545 !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
    padding-right: calc(1.5em + .75rem);
}

/* ---------- Links socios ---------- */
.socios-link {
    color: var(--steel-600);
    text-decoration: none;
    font-size: 0.9rem;
}

.socios-link:hover {
    color: var(--steel-700);
    text-decoration: underline;
}

/* ---------- Toasts ---------- */
.toast-socios {
    min-width: 260px;
    max-width: 360px;
    font-size: 0.9rem;
}

/* ---------- Card interna (Solicitar / Activar) ---------- */
.socios-card {
    max-width: 480px;
    margin: 2.5rem auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    padding: 2rem;
}

@media (max-width: 575.98px) {
    .socios-card {
        margin: 1rem;
        padding: 1.5rem 1rem;
    }
}

.socios-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--steel-800);
    margin-bottom: 0.5rem;
}

.socios-card-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

/* ---------- Welcome page ---------- */
.socios-welcome {
    max-width: 600px;
    margin: 3rem auto;
    text-align: center;
    padding: 2rem 1rem;
}

.socios-welcome-icon {
    font-size: 3rem;
    color: var(--steel-500);
    margin-bottom: 1rem;
}

.socios-welcome h2 {
    color: var(--steel-800);
    font-weight: 700;
}

/* ---------- Wizard stepper ---------- */
.wizard-stepper { display: flex; align-items: center; justify-content: center; gap: 0; padding: 1.5rem 0; }
.wizard-step { display: flex; align-items: center; gap: 0; }
.wizard-step-circle {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem;
    border: 2px solid #dee2e6; color: #6c757d; background: #fff;
    transition: all 0.2s;
}
.wizard-step-circle.active { background: var(--steel-600); color: #fff; border-color: var(--steel-600); }
.wizard-step-circle.completed { background: #198754; color: #fff; border-color: #198754; }
.wizard-step-label { margin-left: 0.5rem; font-size: 0.85rem; color: #6c757d; }
.wizard-step-label.active { color: var(--steel-700); font-weight: 600; }
.wizard-step-line { width: 60px; height: 2px; background: #dee2e6; margin: 0 0.5rem; }
.wizard-step-line.completed { background: #198754; }

/* ---------- Calendar ---------- */
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.calendar-day {
    padding: 0.5rem; text-align: center; border-radius: 6px;
    cursor: pointer; font-size: 0.9rem; transition: background 0.15s;
}
.calendar-day:hover:not(.disabled):not(.selected) { background: #e9ecef; }
.calendar-day.selected { background: var(--steel-600); color: #fff; }
.calendar-day.today { border: 2px solid var(--steel-600); font-weight: 700; }
.calendar-day.disabled { color: #adb5bd; cursor: default; }
.calendar-header { font-weight: 600; font-size: 0.8rem; color: #6c757d; padding: 0.5rem; text-align: center; }

/* ---------- Horario grid ---------- */
.horario-grid { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.horario-btn {
    padding: 0.5rem 1rem; border: 1px solid #dee2e6; border-radius: 8px;
    background: #fff; cursor: pointer; transition: all 0.15s; font-size: 0.9rem;
}
.horario-btn:hover:not(.disabled) { border-color: var(--steel-500); background: var(--steel-50); }
.horario-btn.selected { background: var(--steel-600); color: #fff; border-color: var(--steel-600); }
.horario-btn.disabled { opacity: 0.5; cursor: not-allowed; text-decoration: line-through; }

/* ---------- Plano SVG ---------- */
.plano-container { position: relative; overflow: hidden; border: 1px solid #dee2e6; border-radius: 10px; background: #f8f9fa; }
.plano-svg { width: 100%; height: auto; display: block; }
.mesa-svg { transition: all 0.2s; }
.mesa-disponible { fill: #28a745; cursor: pointer; }
.mesa-disponible:hover { fill: #218838; filter: brightness(1.1); }
.mesa-ocupada { fill: #dc3545; cursor: not-allowed; opacity: 0.7; }
.mesa-inactiva { fill: #6c757d; cursor: not-allowed; opacity: 0.5; }
.mesa-seleccionada { stroke: #fff; stroke-width: 3; filter: drop-shadow(0 0 8px rgba(0,0,0,0.5)); }
.mesa-text { font-size: 12px; fill: #fff; font-weight: 700; pointer-events: none; text-anchor: middle; dominant-baseline: central; }
.zona-label { font-size: 14px; font-weight: 600; fill: #333; }
.zona-bg { opacity: 0.08; }

/* Plano zoom controls */
.plano-controls { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 10; }
.plano-controls button {
    width: 36px; height: 36px; border: 1px solid #dee2e6; border-radius: 6px;
    background: #fff; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
}
.plano-controls button:hover { background: #e9ecef; }

/* Plano legend */
.plano-legend { display: flex; gap: 1rem; padding: 0.75rem; font-size: 0.8rem; color: #6c757d; flex-wrap: wrap; }
.plano-legend-item { display: flex; align-items: center; gap: 0.35rem; }
.plano-legend-dot { width: 14px; height: 14px; border-radius: 3px; }

/* Mesa tooltip */
.mesa-tooltip {
    position: absolute; background: #fff; border: 1px solid #dee2e6; border-radius: 8px;
    padding: 0.75rem; box-shadow: 0 4px 16px rgba(0,0,0,0.12); z-index: 20;
    pointer-events: none; min-width: 140px; font-size: 0.85rem; display: none;
}
.mesa-tooltip.show { display: block; }

/* ---------- Mobile mesa list ---------- */
.mesa-card-mobile {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.75rem; border: 1px solid #dee2e6; border-radius: 8px; margin-bottom: 0.5rem;
    cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.mesa-card-mobile:hover:not(.mesa-card-disabled) { border-color: var(--steel-500); background: var(--steel-50); }
.mesa-card-mobile.selected { border-color: var(--steel-600); background: var(--steel-100); border-width: 2px; }
.mesa-card-mobile.mesa-card-disabled { opacity: 0.5; cursor: not-allowed; }
.mesa-status-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* ---------- Paso 3 resumen ---------- */
.reserva-resumen { max-width: 500px; margin: 0 auto; }
.reserva-resumen-item { display: flex; justify-content: space-between; padding: 0.6rem 0; border-bottom: 1px solid #f0f0f0; }
.reserva-resumen-label { font-weight: 600; color: #6c757d; font-size: 0.9rem; }
.reserva-resumen-valor { font-weight: 600; color: var(--steel-800); font-size: 0.9rem; }

/* ---------- FAB ---------- */
.socios-fab {
    position: fixed; bottom: 24px; right: 24px;
    width: 56px; height: 56px; border-radius: 50%;
    background-color: var(--steel-600); color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000; text-decoration: none; transition: transform 0.2s;
}
.socios-fab:hover { transform: scale(1.08); color: white; }
.socios-fab-badge {
    position: absolute; top: 0; right: 0;
    background: #dc3545; color: white;
    font-size: 0.7rem; border-radius: 50%;
    min-width: 18px; height: 18px;
    display: flex; align-items: center; justify-content: center; padding: 2px;
}

/* ---------- "Cualquier mesa" button ---------- */
.btn-cualquier-mesa {
    background: linear-gradient(135deg, var(--steel-700) 0%, var(--steel-500) 100%);
    color: #fff; border: none; border-radius: 10px;
    padding: 0.85rem 1.5rem; font-weight: 600; font-size: 1rem;
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    transition: transform 0.15s, box-shadow 0.15s;
}
.btn-cualquier-mesa:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(70, 130, 180, 0.3); color: #fff; }

/* ---------- Personas selector ---------- */
.personas-selector { display: flex; align-items: center; gap: 0.75rem; }
.personas-btn {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid #dee2e6; background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; cursor: pointer; transition: all 0.15s;
}
.personas-btn:hover { border-color: var(--steel-500); background: var(--steel-50); }
.personas-count { font-size: 1.5rem; font-weight: 700; color: var(--steel-700); min-width: 40px; text-align: center; }

/* ---------- Reserva cards (Mis Reservas) ---------- */
.reserva-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.reserva-card:hover { border-color: #adb5bd; }
.reserva-card-nueva {
    border-color: var(--steel-500);
    box-shadow: 0 0 0 2px rgba(70, 130, 180, 0.15);
    animation: pulseCard 1.5s ease-in-out 2;
}
@keyframes pulseCard {
    0%, 100% { box-shadow: 0 0 0 2px rgba(70, 130, 180, 0.15); }
    50% { box-shadow: 0 0 0 6px rgba(70, 130, 180, 0.08); }
}
.reserva-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}
.reserva-card-fecha { font-weight: 700; color: var(--steel-800); font-size: 1rem; text-transform: capitalize; }
.reserva-card-hora { color: #6c757d; font-size: 0.9rem; margin-left: 0.5rem; }
.reserva-card-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #495057;
    margin-bottom: 0.5rem;
}
.reserva-card-zona { font-weight: 600; }
.reserva-card-nota { font-size: 0.85rem; color: #6c757d; font-style: italic; margin-top: 0.35rem; }
.reserva-card-actions { margin-top: 0.75rem; padding-top: 0.5rem; border-top: 1px solid #f0f0f0; }

/* Historial - slightly muted cards */
.reserva-card-historial { opacity: 0.8; }
.reserva-card-historial .reserva-card-fecha { color: #6c757d; }

/* Empty state */
.reservas-empty { text-align: center; padding: 3rem 1rem; color: #6c757d; }
.reservas-empty-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.4; }

/* Mis Reservas page header */
.mis-reservas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.mis-reservas-title { font-size: 1.5rem; font-weight: 700; color: var(--steel-800); margin: 0; }

/* ---------- Login: Activation Callout ---------- */
.socios-activation-callout {
    margin-top: 1.75rem;
}

.socios-activation-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--steel-200), transparent);
    margin-bottom: 1.5rem;
}

.socios-activation-content {
    background: var(--steel-50);
    border: 1px solid var(--steel-200);
    border-radius: 10px;
    padding: 1.25rem;
    text-align: center;
}

.socios-activation-icon {
    font-size: 1.75rem;
    color: var(--steel-500);
    margin-bottom: 0.5rem;
}

.socios-activation-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--steel-800);
    margin-bottom: 0.35rem;
}

.socios-activation-text {
    font-size: 0.82rem;
    color: var(--slate-500);
    margin-bottom: 0.85rem;
    line-height: 1.45;
}

.socios-btn-activation {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: transparent;
    color: var(--steel-600);
    border: 1.5px solid var(--steel-400);
    border-radius: 8px;
    padding: 0.45rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.15s;
    text-decoration: none;
}

.socios-btn-activation:hover {
    background: var(--steel-500);
    border-color: var(--steel-500);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(70, 130, 180, 0.25);
}

.socios-btn-activation:active {
    background: var(--steel-600);
    border-color: var(--steel-600);
    color: #fff;
    transform: translateY(0);
}

/* ---------- Login: Footer ---------- */
.socios-login-footer {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.02em;
}

/* ---------- OTP Divider & Button ---------- */
.socios-otp-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    gap: 0.75rem;
}

.socios-otp-divider::before,
.socios-otp-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #dee2e6, transparent);
}

.socios-otp-divider span {
    font-size: 0.8rem;
    color: #adb5bd;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.socios-btn-otp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--steel-600);
    border: 1.5px solid var(--steel-300);
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.15s;
    text-decoration: none;
}

.socios-btn-otp:hover {
    background: var(--steel-50);
    border-color: var(--steel-500);
    color: var(--steel-700);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(70, 130, 180, 0.15);
}

.socios-btn-otp:active {
    background: var(--steel-100);
    transform: translateY(0);
}

/* ---------- Codigo Acceso Page ---------- */
.socios-otp-subtitle {
    text-align: center;
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

.socios-otp-canales {
    background: var(--steel-50);
    border: 1px solid var(--steel-200);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
}

.socios-otp-canal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0;
    color: var(--steel-700);
}

.socios-otp-canal i {
    font-size: 1rem;
    color: var(--steel-500);
    width: 20px;
    text-align: center;
}

.socios-otp-canal .otp-masked {
    font-family: var(--font-mono, 'Courier New', monospace);
    font-weight: 600;
    color: var(--steel-800);
}

/* OTP code input */
.socios-otp-input {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    font-family: var(--font-mono, 'Courier New', monospace);
    padding: 0.75rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    transition: border-color 0.15s, box-shadow 0.15s;
    color: var(--steel-800);
}

.socios-otp-input:focus {
    border-color: var(--steel-500);
    box-shadow: 0 0 0 3px rgba(70, 130, 180, 0.15);
    outline: none;
}

.socios-otp-input::placeholder {
    font-size: 1.25rem;
    letter-spacing: 0.3rem;
    color: #ccc;
}

/* Resend countdown */
.socios-otp-resend {
    text-align: center;
    margin-top: 1rem;
}

.socios-otp-resend-btn {
    background: none;
    border: none;
    color: var(--steel-600);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    transition: color 0.15s;
}

.socios-otp-resend-btn:hover:not(:disabled) {
    color: var(--steel-700);
    text-decoration: underline;
}

.socios-otp-resend-btn:disabled {
    color: #adb5bd;
    cursor: default;
}

.socios-otp-countdown {
    font-size: 0.8rem;
    color: #adb5bd;
}

/* Step transition */
.socios-otp-step {
    animation: otpFadeIn 0.3s ease;
}

@keyframes otpFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   Portal Dashboard
   ============================================================ */
.sp-welcome-section {
    text-align: center;
    margin-bottom: 2rem;
}
.sp-welcome-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--steel-800);
    margin-bottom: 0.25rem;
}
.sp-welcome-subtitle {
    font-size: 1rem;
    color: #6c757d;
}
.sp-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
    justify-items: center;
}
@media (max-width: 767.98px) {
    .sp-cards-grid { grid-template-columns: 1fr; }
}
.sp-action-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.sp-action-card:hover {
    border-color: var(--steel-400);
    box-shadow: 0 4px 20px rgba(70, 130, 180, 0.12);
    transform: translateY(-2px);
    color: inherit;
    text-decoration: none;
}
.sp-action-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.sp-icon-reservar { background: rgba(70, 130, 180, 0.1); color: var(--steel-600); }
.sp-icon-misreservas { background: rgba(25, 135, 84, 0.1); color: #198754; }
.sp-icon-reclamos { background: rgba(255, 193, 7, 0.1); color: #e5a100; }
.sp-action-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--steel-800);
    margin-bottom: 0.5rem;
}
.sp-action-desc {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
    flex: 1;
}
.sp-action-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--steel-600);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.sp-action-card:hover .sp-action-link { color: var(--steel-700); }

/* ============================================================
   Reclamos — Form & Cards (Socios Portal)
   ============================================================ */
.reclamo-form-card {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    padding: 2rem;
}
.reclamo-tipo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
@media (max-width: 575.98px) {
    .reclamo-tipo-grid { grid-template-columns: 1fr; }
}
.reclamo-tipo-option {
    position: relative;
}
.reclamo-tipo-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.reclamo-tipo-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1rem 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
}
.reclamo-tipo-label:hover {
    border-color: #adb5bd;
}
.reclamo-tipo-label i {
    font-size: 1.5rem;
}
.reclamo-tipo-label span {
    font-size: 0.85rem;
    font-weight: 600;
}
.reclamo-tipo-option input[type="radio"]:checked + .reclamo-tipo-label {
    border-color: var(--steel-500);
    background: var(--steel-50);
}
.reclamo-tipo-option.tipo-reclamo .reclamo-tipo-label i { color: #dc3545; }
.reclamo-tipo-option.tipo-sugerencia .reclamo-tipo-label i { color: #e5a100; }
.reclamo-tipo-option.tipo-felicitacion .reclamo-tipo-label i { color: #198754; }

/* Badges */
.badge-tipo-reclamo { background-color: #dc3545; color: #fff; }
.badge-tipo-sugerencia { background-color: #ffc107; color: #000; }
.badge-tipo-felicitacion { background-color: #198754; color: #fff; }
.badge-estado-pendiente { background-color: #ffc107; color: #000; }
.badge-estado-en_revision { background-color: #0dcaf0; color: #000; }
.badge-estado-respondido { background-color: #198754; color: #fff; }
.badge-estado-cerrado { background-color: #6c757d; color: #fff; }

/* Reclamo cards */
.reclamo-card {
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    transition: border-color 0.15s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.reclamo-card:hover {
    border-color: var(--steel-400);
    color: inherit;
    text-decoration: none;
}
.reclamo-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}
.reclamo-card-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--steel-800);
}
.reclamo-card-fecha {
    font-size: 0.85rem;
    color: #6c757d;
}
.reclamo-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}
.reclamo-detalle-card {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1.5rem;
}
.reclamo-respuesta-card {
    background: var(--steel-50);
    border: 1px solid var(--steel-200);
    border-radius: 10px;
    padding: 1.25rem;
    margin-top: 1rem;
}
.reclamo-respuesta-header {
    font-size: 0.85rem;
    color: var(--steel-600);
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.reclamo-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}
.reclamo-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.4;
}
