/* Estilos del Wizard de Reserva */

/* Contenedor principal del wizard */
.wizard-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Barra de progreso */
.wizard-progress {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    padding: 20px 0;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.step-indicator:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.3);
    z-index: 0;
}

.step-indicator.completed:not(:last-child)::after {
    background: #28a745;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    z-index: 1;
    transition: all 0.3s ease;
}

.step-indicator.active .step-number {
    background: white;
    color: #2d5a27;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(45, 90, 39, 0.2);
}

.step-indicator.completed .step-number {
    background: #28a745;
}

.step-label {
    color: rgba(255,255,255,0.8);
    font-size: 11px;
    margin-top: 8px;
    text-align: center;
    max-width: 80px;
}

.step-indicator.active .step-label {
    color: white;
    font-weight: 600;
}

/* Contenido del wizard */
.wizard-content {
    padding: 30px;
    min-height: 400px;
}

.wizard-step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.wizard-step.active {
    display: block;
}

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

/* Tarjetas de selección */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.selection-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.selection-card:hover {
    border-color: #2d5a27;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.2);
}

.selection-card.selected {
    border-color: #2d5a27;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.1) 0%, rgba(30, 58, 138, 0.1) 100%);
}

.selection-card .card-icon {
    font-size: 40px;
    margin-bottom: 12px;
    color: #2d5a27;
}

.selection-card .card-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.selection-card .card-subtitle {
    font-size: 12px;
    color: #6c757d;
}

/* Formulario de fecha y duración */
.date-duration-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.duration-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.duration-option {
    padding: 10px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.duration-option:hover {
    border-color: #2d5a27;
}

.duration-option.selected {
    border-color: #2d5a27;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.1) 0%, rgba(30, 58, 138, 0.1) 100%);
    color: #2d5a27;
}

/* Timeline de horarios */
.timeline-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-top: 20px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #2d5a27, #1e3a8a);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.timeline-time {
    width: 45%;
    text-align: right;
    padding-right: 20px;
    font-weight: 600;
    color: #2d5a27;
}

.timeline-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    border: 4px solid #2d5a27;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-label {
    width: 45%;
    padding-left: 20px;
    color: #6c757d;
}

/* Grid de canchas con slots */
.canchas-grid {
    display: grid;
    gap: 24px;
    margin-top: 20px;
}

.cancha-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.cancha-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.cancha-card.selected {
    border-color: #2d5a27;
    box-shadow: 0 4px 20px rgba(45, 90, 39, 0.2);
}

.cancha-header {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    color: white;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cancha-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.cancha-foto-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.cancha-foto-thumb:hover {
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.8);
}

.cancha-header h5 {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
}

.cancha-header .badge {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
}

/* Badge "Recomendada" por preservación de canchas combinables */
.cancha-header .cancha-badge-recomendada {
    background: #198754;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(25, 135, 84, 0.45);
}

.cancha-card.cancha-recomendada {
    border-color: #198754;
    box-shadow: 0 4px 18px rgba(25, 135, 84, 0.18);
}

.cancha-card.cancha-recomendada.selected {
    border-color: #2d5a27;
    box-shadow: 0 4px 20px rgba(45, 90, 39, 0.25);
}

@media (max-width: 575.98px) {
    .cancha-header-info {
        flex-wrap: wrap;
    }
}

/* Slot bloqueado por preservación de combinables (modo estricto): tachado, no seleccionable */
.horario-slot.slot-bloqueado-preservacion {
    text-decoration: line-through;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Tipo de cancha - mejorado */
.cancha-card > p.text-muted {
    padding: 12px 24px 0;
    margin: 0;
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

/* Specs de la cancha */
.cancha-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 24px;
}

.cancha-spec {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: #f1f3f5;
    color: #495057;
    border: 1px solid #dee2e6;
}

.cancha-spec i {
    font-size: 13px;
}

.cancha-spec-superficie {
    background: #e8f5e9;
    color: #2d5a27;
    border-color: #c8e6c9;
}

.cancha-spec-techada {
    background: #e3f2fd;
    color: #1565c0;
    border-color: #bbdefb;
}

.cancha-spec-iluminacion {
    background: #fff8e1;
    color: #f57f17;
    border-color: #ffe082;
}

.cancha-spec-custom {
    background: #f3e5f5;
    color: #7b1fa2;
    border-color: #ce93d8;
}

/* Sección de horarios disponibles */
.horarios-disponibles {
    padding: 16px 24px 24px;
}

.horarios-disponibles > small.text-muted {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
}

.horarios-disponibles > .d-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Slots de horario - mejorados */
.horario-slot {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 10px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-weight: 600;
    font-size: 14px;
    min-width: 80px;
    background: white;
    position: relative;
    overflow: hidden;
}

.horario-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.05) 0%, rgba(30, 58, 138, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.horario-slot:hover:not(.disabled):not(.btn-success) {
    border-color: #2d5a27;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.15);
}

.horario-slot:hover:not(.disabled):not(.btn-success)::before {
    opacity: 1;
}

.horario-slot.btn-success {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    border-color: #2d5a27;
    color: white;
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.3);
}

.horario-slot.btn-success::before {
    display: none;
}

.horario-slot.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f8f9fa;
    border-color: #dee2e6;
}

.horario-slot .slot-time {
    font-weight: 600;
    color: inherit;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.horario-slot .slot-price {
    font-size: 11px;
    color: #28a745;
    font-weight: 600;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

.horario-slot.btn-success .slot-price {
    color: rgba(255, 255, 255, 0.9);
}

.horario-slot .slot-moon-icon {
    font-size: 10px;
    color: #6c5ce7;
    margin-left: 3px;
    vertical-align: middle;
    opacity: 0.8;
}

.horario-slot.slot-madrugada {
    border-color: #a29bfe;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8e4ff 100%);
}

.horario-slot.slot-madrugada:hover:not(.disabled):not(.btn-success) {
    border-color: #6c5ce7;
    background: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.25);
}

.horario-slot.slot-madrugada:hover:not(.disabled):not(.btn-success) .slot-moon-icon {
    color: #ffd700;
}

.horario-slot.slot-madrugada.btn-success {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    border-color: #6c5ce7;
    color: #fff;
    box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

.horario-slot.btn-success .slot-moon-icon {
    color: #ffd700;
    text-shadow: 0 0 6px rgba(255, 215, 0, 0.5);
}

/* Mensaje de sin horarios */
.cancha-card .text-muted:only-child,
.cancha-card > .text-muted:last-child {
    padding: 20px;
    text-align: center;
    font-style: italic;
}

/* Botones de navegación del wizard */
.wizard-footer {
    padding: 20px 30px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-wizard {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-wizard-prev {
    background: #e9ecef;
    color: #6c757d;
    border: none;
}

.btn-wizard-prev:hover {
    background: #dee2e6;
}

.btn-wizard-next {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    color: white;
    border: none;
}

.btn-wizard-next:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 90, 39, 0.4);
}

.btn-wizard-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Ocultar flotantes de WhatsApp y chatbot cuando el wizard de canchas está activo en mobile */
@media (max-width: 768px) {
    body.wizard-canchas-active .whatsapp-float,
    body.wizard-canchas-active #chatbot-widget {
        display: none !important;
    }
}

/* Footer flotante para paso 4 (Canchas): siempre visible en la parte inferior de la pantalla */
.wizard-step-canchas .wizard-content {
    overflow-y: auto;
    padding-bottom: 20px;
}

.wizard-step-canchas .wizard-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 570px;
    z-index: 1000;
    background: white;
    border-top: 2px solid #dee2e6;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.12);
    padding: 16px 30px;
    border-radius: 12px 12px 0 0;
}

/* Resumen de reserva */
.resumen-sidebar {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 20px;
    position: sticky;
    top: 80px;
}

.resumen-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.resumen-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.resumen-label {
    color: #6c757d;
    font-size: 14px;
}

.resumen-value {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.resumen-total {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 2px solid #e9ecef;
}

.total-label {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.total-value {
    font-size: 20px;
    font-weight: 700;
    color: #28a745;
}

/* Modal de pago */
.modal-pago .modal-content {
    border-radius: 16px;
    border: none;
}

.modal-pago .modal-header {
    background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
    color: white;
    border-radius: 16px 16px 0 0;
}

.pago-resumen {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.pago-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
}

.pago-total {
    border-top: 2px solid #dee2e6;
    margin-top: 15px;
    padding-top: 15px;
    font-size: 18px;
    font-weight: 700;
}

.btn-pagar {
    background: linear-gradient(135deg, #009c3b 0%, #00a650 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-pagar:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 156, 59, 0.4);
}

/* Loading Spinner */
#loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    background: rgba(255,255,255,0.9);
    padding: 40px;
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    .progress-steps {
        padding: 0 10px;
    }

    .step-label {
        font-size: 9px;
        max-width: 60px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .selection-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .wizard-content {
        padding: 20px 15px;
    }

    .wizard-footer {
        padding: 15px;
    }

    .wizard-step-canchas .wizard-footer {
        padding: 12px 15px;
        max-width: 100%;
        left: 0;
        transform: none;
        border-radius: 0;
    }

    .wizard-step-canchas .wizard-content {
        overflow-y: visible;
        padding-bottom: 90px;
    }

    .wizard-step-canchas .canchas-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding-bottom: 12px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .wizard-step-canchas .canchas-grid::-webkit-scrollbar {
        display: none;
    }

    .wizard-step-canchas .cancha-card {
        flex: 0 0 85vw;
        min-width: 280px;
        scroll-snap-align: center;
    }

    .canchas-carousel-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 16px;
        margin-bottom: 8px;
        font-size: 14px;
        font-weight: 700;
        color: white;
        background: linear-gradient(135deg, #2d5a27 0%, #1e3a8a 100%);
        border-radius: 8px;
        animation: carouselHintPulse 2s ease-in-out infinite;
        transition: opacity 0.3s ease;
    }

    .canchas-carousel-hint i {
        font-size: 18px;
        color: white;
    }

    .canchas-carousel-hint.hint-hidden {
        opacity: 0;
        pointer-events: none;
    }

    @keyframes carouselHintPulse {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.6; }
    }

    .btn-wizard {
        padding: 10px 20px;
        font-size: 14px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-time {
        width: 100%;
        text-align: left;
        padding-left: 40px;
        padding-right: 0;
    }

    .timeline-marker {
        left: 20px;
    }

    .timeline-label {
        width: 100%;
        padding-left: 40px;
        padding-top: 5px;
    }
}

/* WhatsApp CTA - Complejos sin reservas online */
.whatsapp-cta-container {
    margin-top: 12px;
    padding: 16px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
    text-align: center;
}

.whatsapp-cta-notice {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 12px;
}

.whatsapp-cta-notice i {
    color: #f59e0b;
    margin-right: 4px;
}

.whatsapp-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: #25D366;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.whatsapp-cta-btn:hover {
    background: #1ebe5d;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

.whatsapp-cta-btn:active {
    transform: scale(0.98);
}

.whatsapp-cta-btn.disabled {
    background: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none;
    opacity: 0.7;
}

.whatsapp-cta-btn i {
    font-size: 1.15rem;
}

.whatsapp-cta-hint {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 10px;
    line-height: 1.4;
}

.whatsapp-cta-fallback {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 8px;
    padding: 8px 12px;
    background: #fef3c7;
    border-radius: 6px;
    border: 1px solid #fcd34d;
}

@media (max-width: 576px) {
    .whatsapp-cta-container {
        padding: 12px;
        margin-top: 8px;
    }

    .whatsapp-cta-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

.swal2-container {
    z-index: 2050 !important;
}

.guest-checkout-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    animation: guestOverlayIn 0.2s ease-out;
}

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

@keyframes guestSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.guest-checkout-panel {
    width: 100%;
    max-width: 480px;
    max-height: 85vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 16px;
    animation: guestSlideUp 0.3s ease-out;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.15);
}

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

.guest-checkout-header h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0;
}

.guest-checkout-header h5 i {
    color: #2563eb;
    margin-right: 6px;
}

.guest-close-btn {
    background: none;
    border: none;
    font-size: 1rem;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}

.guest-close-btn:hover {
    background: #f1f5f9;
    color: #475569;
}

.guest-checkout-body {
    padding: 0;
}

.guest-form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 10px;
}

.guest-field-group:first-child {
    grid-column: 1 / -1;
}

.guest-field-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 2px;
}

.guest-field-group .form-control {
    font-size: 0.88rem;
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.guest-field-group .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.guest-btn-otp {
    width: 100%;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.guest-btn-otp:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.otp-section {
    animation: guestOverlayIn 0.2s ease-out;
}

.otp-hint {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 8px;
}

.otp-input-group {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.otp-input-group .form-control {
    font-size: 1.05rem;
    letter-spacing: 4px;
    text-align: center;
    max-width: 150px;
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
}

.otp-input-group .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.otp-input-group .btn {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: 8px;
    white-space: nowrap;
}

#btn-reenviar-otp {
    font-size: 0.78rem;
    color: #2563eb;
    padding: 4px 8px;
}

.guest-verified-section {
    animation: guestOverlayIn 0.2s ease-out;
}

.guest-verified-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #16a34a;
    margin-bottom: 10px;
    padding: 8px;
    background: #f0fdf4;
    border-radius: 8px;
    border: 1px solid #bbf7d0;
}

.guest-verified-badge i {
    font-size: 1rem;
}

.btn-guest-confirmar {
    width: 100%;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px;
    border-radius: 8px;
}

.btn-guest-confirmar:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .guest-form-fields {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .guest-field-group:first-child {
        grid-column: 1;
    }

    .guest-checkout-panel {
        max-width: 100%;
        border-radius: 16px 16px 0 0;
    }

    .otp-input-group .form-control {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .guest-field-group .form-control {
        font-size: 16px;
    }
}
