/**
 * ============================================================================
 * ZUMAC - MÓDULO PASO 4 (PAGO Y RESUMEN)
 * ============================================================================
 *
 * Versión: 1.4.1 - ANCHO 900PX + COLORES EXPLÍCITOS ✅
 * Fecha: 2025-01-16
 *
 * DESCRIPCIÓN:
 * Este módulo contiene TODOS los estilos específicos del Paso 4 (Pago)
 * de manera modular, exportable y protegida con el prefijo .modzumac
 *
 * CONTENIDO:
 * 1.  Contenedor Principal (.hero-search-card.step-4)
 * 2.  Layout Dos Columnas (.step4-layout, .step4-two-columns)
 * 3.  Ticket de Pago (.payment-ticket, .ticket-compact)
 * 4.  Métodos de Pago Grid Estándar (.payment-methods-grid)
 * 5.  Métodos de Pago Grid Compacto (.payment-grid-compact)
 * 6.  Métodos de Pago Grid Premium (.payment-grid-two-methods)
 * 7.  Checkboxes de Confirmación (.confirmation-checkboxes)
 * 8.  Selector de Idioma Paso 4 (.step4-title-with-language)
 * 9.  Modal Stripe - Pago Seguro (.stripe-modal)
 * 10. Formulario Tarjeta de Crédito (.stripe-card-element)
 * 11. Botón de Pago (.stripe-pay-btn)
 * 12. Resumen de Pago (.payment-summary)
 * 13. Seguridad y Confianza (.security-notice, .trust-section)
 * 14. Conversión de Moneda (.currency-conversion-notice)
 * 15. Modal PayPal (.paypal-confirmation-modal)
 * 16. Optimizaciones Mobile (Touch Targets, Responsive)
 *
 * PROTECCIÓN:
 * Todos los selectores están protegidos con el prefijo .modzumac
 * para evitar conflictos con otros estilos del sistema.
 *
 * ============================================================================
 */

/* ==================== 1. CONTENEDOR PRINCIPAL - PASO 4 ==================== */
/* ✅ FIX: Ancho del modal en Step 4 - DESKTOP (900px MÁS ANCHO que Step 1) */
.modzumac .hero-search-card.step-4 {
    /* Dimensiones */
    flex: 0 0 900px !important;
    max-width: 900px !important;
    min-width: 900px !important;
    width: 900px !important;
    max-height: 650px !important;

    /* Espaciado - IGUAL que Step 1 */
    padding: 16px 28px !important;
    border-radius: 20px !important;

    /* Bordes y sombras - IGUAL que Step 1 */
    border: 1px solid var(--modzumac-step1-border) !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--modzumac-step1-border) !important;

    /* Efectos visuales - IGUAL que Step 1 */
    backdrop-filter: blur(10px) !important;
    transform: translate3d(0, 0, 0) !important;

    /* Overflow - IGUAL que Step 1 */
    overflow-y: visible !important;
    overflow-x: visible !important;
}

/* ==================== 2. LAYOUT DOS COLUMNAS ==================== */
/* Layout de dos columnas estándar */
.modzumac .step4-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 12px;
}

.modzumac .step4-left {
    display: flex;
    flex-direction: column;
}

.modzumac .step4-right {
    display: flex;
    flex-direction: column;
}

/* Layout de dos columnas compacto (360px + 1fr) */
.modzumac .step4-two-columns {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 16px;
    margin-bottom: 12px;
    overflow: visible;
    position: relative;
}

.modzumac .step4-left-column {
    display: flex;
    flex-direction: column;
}

.modzumac .step4-right-column {
    background: var(--zumac-card);
    border: 2px solid var(--zumac-border);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    overflow: visible;
    position: relative;
}

.modzumac .step4-title {
    font-size: 1.5rem; /* ✅ AUMENTADO: De 0.95rem (15px) a 1.5rem (24px) */
    font-weight: 800;
    color: #000000; /* ✅ CAMBIADO: De blanco a negro */
    margin: 0 0 14px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== 3. TICKET DE PAGO ==================== */
/* Ticket estándar */
.modzumac .payment-ticket {
    background: var(--zumac-card);
    border: 2px solid var(--zumac-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modzumac .ticket-header {
    border-bottom: 2px dashed var(--zumac-accent);
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.modzumac .ticket-title {
    font-size: 1rem;
    font-weight: 700;
    color: #000000; /* ✅ CAMBIADO: De blanco a negro */
    margin: 0;
    text-align: center;
}

.modzumac .ticket-section {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--zumac-border);
}

.modzumac .ticket-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.modzumac .ticket-subsection-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #000000; /* ✅ CAMBIADO: De blanco a negro */
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modzumac .ticket-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    gap: 12px;
}

.modzumac .ticket-row.ticket-amenity {
    padding: 3px 0;
}

.modzumac .ticket-label {
    font-size: 0.75rem;
    color: #000000; /* ✅ CAMBIADO: De blanco a negro */
    font-weight: 600;
}

.modzumac .ticket-value {
    font-size: 0.75rem;
    color: #000000; /* ✅ CAMBIADO: De blanco a negro */
    font-weight: 700;
    text-align: right;
    flex-shrink: 0;
}

.modzumac .ticket-total {
    background: var(--zumac-primary);
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
}

/* Forzar que TODO el texto dentro del total sea blanco */
.modzumac .ticket-total .ticket-label,
.modzumac .ticket-total .ticket-value {
    color: var(--zumac-white) !important;
}

.modzumac .ticket-total-amount {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 2px solid var(--zumac-accent);
}

.modzumac .ticket-total-amount .ticket-label,
.modzumac .ticket-total-amount .ticket-value {
    font-size: 0.95rem;
    color: var(--zumac-white) !important; /* ✅ MANTENER: Texto blanco en fondo oscuro */
    font-weight: 800;
}

/* Ticket compacto */
.modzumac .ticket-compact {
    background: var(--zumac-card);
    border: 2px solid var(--zumac-accent);
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 4px 16px rgba(0, 188, 212, 0.15);
}

.modzumac .ticket-header-compact {
    background: var(--zumac-accent);
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--zumac-accent);
}

.modzumac .ticket-brand {
    font-size: 1rem;
    font-weight: 900;
    color: white !important; /* ✅ MANTENER: Texto blanco en header rojo */
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.modzumac .ticket-code {
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.modzumac .ticket-section-compact {
    padding: 12px 16px;
    background: var(--zumac-background);
    border-bottom: 1px solid var(--zumac-border);
}

.modzumac .ticket-section-title {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--zumac-accent);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.modzumac .ticket-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    gap: 10px;
}

.modzumac .ticket-lbl {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--zumac-text-secondary);
}

.modzumac .ticket-val {
    font-size: 0.75rem;
    font-weight: 800;
    color: #000000; /* ✅ CAMBIADO: De blanco a negro */
    text-align: right;
}

.modzumac .ticket-total-compact {
    padding: 14px 16px;
    background: var(--zumac-primary);
    text-align: center;
}

.modzumac .ticket-total-lbl {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--zumac-white) !important; /* ✅ MANTENER: Texto blanco en fondo oscuro */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.modzumac .ticket-total-amt {
    font-size: 1.5rem;
    font-weight: 900;
    color: #00BCD4;
    letter-spacing: -0.3px;
}

/* ==================== 4. MÉTODOS DE PAGO GRID ESTÁNDAR ==================== */
.modzumac .payment-methods-section {
    margin-bottom: 16px;
}

.modzumac .payment-methods-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #000000; /* ✅ CAMBIADO: De blanco a negro */
    margin: 0 0 12px 0;
    text-align: center;
}

.modzumac .payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.modzumac .payment-method-card {
    background: var(--zumac-card);
    border: 2px solid var(--zumac-border);
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    min-height: 120px;
}

.modzumac .payment-method-card:hover {
    border-color: #10b981; /* ✅ Verde */
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2); /* ✅ Sombra verde */
    transform: translateY(-2px);
}

.modzumac .payment-method-card.selected {
    border-color: #10b981; /* ✅ Verde */
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%); /* ✅ Azul muy claro */
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35); /* ✅ Sombra verde más intensa */
}

.modzumac .payment-method-icon {
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.modzumac .payment-method-icon svg {
    max-width: 100%;
    height: auto;
}

.modzumac .payment-method-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #000000; /* ✅ CAMBIADO: De blanco a negro */
    margin: 0;
}

.modzumac .payment-method-description {
    font-size: 0.65rem;
    color: var(--zumac-text-secondary);
    margin: 0;
    line-height: 1.3;
}

/* ==================== 5. MÉTODOS DE PAGO GRID COMPACTO ==================== */
.modzumac .payment-grid-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.modzumac .payment-card-compact {
    background: var(--zumac-background);
    border: 2px solid var(--zumac-border);
    border-radius: 12px;
    padding: 16px 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    min-height: 110px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.modzumac .payment-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--zumac-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modzumac .payment-card-compact:hover {
    border-color: #10b981; /* ✅ Verde */
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.25); /* ✅ Sombra verde */
    transform: translateY(-3px);
}

.modzumac .payment-card-compact:hover::before {
    opacity: 1;
}

.modzumac .payment-card-compact.selected {
    border-color: #10b981; /* ✅ Verde */
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%); /* ✅ Azul muy claro */
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4); /* ✅ Sombra verde más intensa */
}

.modzumac .payment-card-compact.selected::before {
    opacity: 1;
    height: 4px;
}

.modzumac .payment-icon-compact {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: var(--zumac-card);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 140px;
}

.modzumac .payment-icon-compact svg {
    max-width: 100%;
    height: auto;
}

.modzumac .payment-icon-compact img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modzumac .payment-name-compact {
    font-size: 0.75rem;
    font-weight: 700;
    color: #000000; /* ✅ CAMBIADO: De blanco a negro */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== 6. MÉTODOS DE PAGO GRID PREMIUM (2 MÉTODOS) ==================== */
.modzumac .payment-grid-two-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
    padding: 4px;
}

.modzumac .payment-card-premium {
    min-height: 150px;
    padding: 0;
    border: 2px solid var(--zumac-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--zumac-card);
    border-radius: 12px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.modzumac .payment-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--zumac-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modzumac .payment-card-premium:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 32px rgba(6, 182, 212, 0.25);
    border-color: #00BCD4;
}

.modzumac .payment-card-premium.selected {
    border-color: #0891b2;
    background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 100%);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.3);
    transform: scale(1.03);
}

.modzumac .payment-card-premium.selected::before {
    opacity: 1;
    height: 4px;
}

.modzumac .payment-card-inner {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
}

.modzumac .payment-card-premium .payment-icon-compact {
    width: 80px;
    height: 60px;
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.modzumac .payment-card-premium:hover .payment-icon-compact {
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.2);
    transform: scale(1.05);
}

.modzumac .payment-card-premium .payment-name-compact {
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.modzumac .payment-description {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
}

.modzumac .payment-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--zumac-accent);
    color: var(--zumac-white);
    font-size: 0.6rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 188, 212, 0.3);
}

.modzumac .payment-card-premium[data-method="stripe"] {
    border-color: var(--zumac-border);
}

.modzumac .payment-card-premium[data-method="stripe"]:hover {
    border-color: #10b981; /* ✅ Verde */
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.25); /* ✅ Sombra verde */
}

.modzumac .payment-card-premium[data-method="stripe"].selected {
    border-color: #10b981; /* ✅ Verde */
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%); /* ✅ Azul muy claro */
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4); /* ✅ Sombra verde más intensa */
}

.modzumac .payment-card-premium[data-method="paypal"] {
    border-color: var(--zumac-border);
}

.modzumac .payment-card-premium[data-method="paypal"]:hover {
    border-color: #10b981; /* ✅ Verde */
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.25); /* ✅ Sombra verde */
}

.modzumac .payment-card-premium[data-method="paypal"].selected {
    border-color: #10b981; /* ✅ Verde */
    background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 100%); /* ✅ Azul muy claro */
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4); /* ✅ Sombra verde más intensa */
}

/* ==================== 7. CHECKBOXES DE CONFIRMACIÓN ==================== */
.modzumac .confirmation-checkboxes {
    background: #faf8f5 !important; /* ✅ Fondo beige explícito */
    border: 2px solid rgba(122, 139, 153, 0.2) !important;
    border-radius: 10px;
    padding: 16px;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modzumac .confirmation-checkbox-item {
    display: flex;
    align-items: flex-start;
}

.modzumac .confirmation-checkbox-item .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.modzumac .confirmation-checkbox-item .checkbox-input {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    cursor: pointer;
    accent-color: #00BCD4 !important; /* ✅ Cyan explícito */
    margin: 2px 0 0 0;
    flex-shrink: 0;
}

.modzumac .confirmation-checkbox-item .checkbox-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1f2937 !important; /* ✅ Texto oscuro explícito */
    line-height: 1.4;
    flex: 1;
}

.modzumac .policy-link {
    color: #00BCD4 !important; /* ✅ Cyan explícito */
    text-decoration: underline;
    font-weight: 700;
}

.modzumac .policy-link:hover {
    color: #1A7B8C !important; /* ✅ Turquesa explícito */
}

/* Checkboxes compactos */
.modzumac .confirm-checkboxes-compact {
    background: transparent;
    border: none;
    border-radius: 10px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.modzumac .confirm-checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--zumac-text-light);
    line-height: 1.4;
}

.modzumac .confirm-checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    cursor: pointer;
    accent-color: var(--zumac-accent);
    margin-top: 2px;
}

.modzumac .policy-link-compact {
    color: var(--zumac-accent);
    text-decoration: underline;
    font-weight: 700;
}

.modzumac .policy-link-compact:hover {
    color: #000000; /* ✅ CAMBIADO: De blanco a negro */
}

/* ==================== 8. SELECTOR DE IDIOMA PASO 4 ==================== */
.modzumac .step4-title-with-language {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
    overflow: visible;
    z-index: 10002 !important;
}

/* En paso 4, el selector NO está posicionado absolute */
.modzumac .step4-title-with-language .language-selector {
    position: relative;
    top: auto;
    left: auto;
    margin: 0;
}

/* Ajustar el botón de idioma en paso 4 para que sea más compacto */
.modzumac .step4-title-with-language .language-btn {
    padding: 5px 9px;
    gap: 5px;
}

.modzumac .step4-title-with-language .language-btn-flag {
    width: 16px;
    height: 16px;
}

.modzumac .step4-title-with-language .language-btn-text {
    font-size: 10px;
}

.modzumac .step4-title-with-language .language-btn-icon {
    font-size: 9px;
}

/* Asegurar que el dropdown se alinee correctamente desde la derecha */
.modzumac .step4-title-with-language .language-dropdown {
    left: auto;
    right: 0;
}

/* ==================== 9. MODAL STRIPE - PAGO SEGURO ==================== */
.modzumac .stripe-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 2147483647 !important; /* ✅ Z-index MÁXIMO para estar sobre TODO */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease-out; /* ✅ OPTIMIZADO: Reducido de 0.4s a 0.2s */
}

.modzumac .stripe-modal {
    background: #FFFFFF !important; /* ✅ Fondo blanco sólido */
    background-color: #FFFFFF !important; /* ✅ Asegurar fondo blanco */
    border-radius: 24px;
    width: 90%;
    max-width: 920px;
    max-height: 92vh;
    overflow-y: auto;
    overflow-x: hidden; /* ✅ CAMBIADO: De visible a hidden para evitar scroll horizontal */
    box-sizing: border-box; /* ✅ AGREGADO: Incluir padding/border en el width */
    box-shadow: 0 32px 96px rgba(0, 0, 0, 0.8);
    transform: translateY(-10px) scale(0.98); /* ✅ OPTIMIZADO: Menos movimiento */
    opacity: 0;
    transition: all 0.2s ease-out; /* ✅ OPTIMIZADO: Reducido de 0.4s a 0.2s */
    border: 1px solid var(--zumac-border);
}

/* Header mejorado */
.modzumac .stripe-modal-header {
    background: var(--zumac-white);
    padding: 28px 28px 24px;
    border-radius: 24px 24px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    overflow: visible;
}

.modzumac .stripe-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(250, 248, 245, 0.5) 0%, rgba(250, 248, 245, 0) 100%);
    pointer-events: none;
}

.modzumac .header-content {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.modzumac .lock-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(250, 248, 245, 0.9));
    border: 2px solid var(--zumac-border);
    border-radius: 12px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--zumac-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modzumac .header-text h2 {
    color: var(--zumac-primary);
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 4px 0;
    text-shadow: none;
    letter-spacing: -0.02em;
}

.modzumac .header-subtitle {
    color: var(--zumac-primary);
    opacity: 0.7;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

.modzumac .stripe-modal-close {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(250, 248, 245, 0.9));
    border: 2px solid var(--zumac-border);
    color: var(--zumac-primary);
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modzumac .stripe-modal-close:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(250, 248, 245, 1));
    border-color: var(--zumac-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Language Selector in Stripe Modal */
.modzumac .stripe-language-selector-wrapper {
    position: relative;
    z-index: 10003 !important;
    margin: 0 12px;
}

.modzumac .stripe-language-selector-wrapper .language-selector {
    position: relative;
    top: auto;
    left: auto;
    margin: 0;
}

.modzumac .stripe-language-selector-wrapper .language-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(250, 248, 245, 0.9));
    border: 2px solid var(--zumac-border);
    padding: 6px 10px;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modzumac .stripe-language-selector-wrapper .language-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(250, 248, 245, 1));
    border-color: var(--zumac-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.modzumac .stripe-language-selector-wrapper .language-btn-text {
    color: var(--zumac-primary);
    font-size: 11px;
}

.modzumac .stripe-language-selector-wrapper .language-btn-icon {
    color: var(--zumac-primary);
    opacity: 0.7;
}

.modzumac .stripe-language-selector-wrapper .language-dropdown {
    left: auto;
    right: 0;
}

/* Security Notice - Aviso de Seguridad SSL */
.modzumac .security-notice {
    background: var(--zumac-primary);
    border: 1px solid var(--zumac-white);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: var(--zumac-white) !important; /* ✅ Texto blanco en fondo oscuro */
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
}

.modzumac .security-notice svg {
    flex-shrink: 0;
    color: var(--zumac-white);
}

/* Body del Modal de Stripe */
.modzumac .stripe-modal-body {
    padding: 28px;
    box-sizing: border-box; /* ✅ AGREGADO: Incluir padding en el width */
    overflow-x: hidden; /* ✅ AGREGADO: Evitar scroll horizontal */
}

/* Grid de dos columnas para contenido de pago */
.modzumac .payment-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
    box-sizing: border-box; /* ✅ AGREGADO: Incluir padding/gap en el width */
}

/* ==================== 10. FORMULARIO TARJETA DE CRÉDITO ==================== */
.modzumac .card-input-section {
    background: #faf8f5 !important; /* ✅ Fondo beige explícito */
    border-radius: 16px;
    padding: 24px;
    border: 2px solid rgba(122, 139, 153, 0.2) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    height: fit-content;
}

.modzumac .card-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937 !important; /* ✅ Texto oscuro explícito */
    margin-bottom: 12px;
}

.modzumac .card-label svg {
    color: #00BCD4 !important; /* ✅ Cyan explícito */
}

.modzumac #stripe-payment-form {
    margin-top: 0;
}

.modzumac .stripe-card-element {
    background: #ffffff !important; /* ✅ Fondo blanco explícito */
    padding: 16px 18px;
    border: 2px solid rgba(122, 139, 153, 0.2) !important;
    border-radius: 12px;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Forzar que el iframe de Stripe tenga fondo oscuro */
.modzumac .stripe-card-element iframe {
    background: transparent !important;
}

.modzumac .stripe-card-element:focus-within {
    border-color: #00BCD4 !important; /* ✅ Cyan explícito */
    box-shadow: 0 0 0 4px rgba(0, 188, 212, 0.15), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.modzumac .stripe-card-errors {
    color: #1f2937 !important; /* ✅ Texto de error explícito */
    font-size: 0.875rem;
    margin-top: 12px;
    padding: 12px 16px;
    background: #fee2e2 !important; /* ✅ Fondo rojo claro para errores */
    border: 1px solid #fca5a5 !important;
    border-radius: 10px;
    display: none;
    animation: modzumac-slideDown 0.3s ease-out;
    font-weight: 500;
}

.modzumac .card-info-text {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 12px;
    background: #faf8f5 !important; /* ✅ Fondo beige explícito */
    border: 1px solid rgba(122, 139, 153, 0.2) !important;
    border-radius: 10px;
    font-size: 0.8125rem;
    color: #7A8B99 !important; /* ✅ Texto claro explícito */
    line-height: 1.5;
    font-weight: 500;
}

.modzumac .card-info-text svg {
    flex-shrink: 0;
    color: #00BCD4 !important; /* ✅ Cyan explícito */
}

/* ==================== 11. BOTÓN DE PAGO ==================== */
.modzumac .stripe-pay-btn {
    width: 100%;
    padding: 18px 24px;
    background: #00BCD4 !important; /* ✅ Cyan explícito */
    color: #ffffff !important;
    border: none;
    border-radius: 14px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 188, 212, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.01em;
}

.modzumac .stripe-pay-btn:hover:not(:disabled) {
    background: #1A7B8C !important; /* ✅ Turquesa explícito */
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 123, 140, 0.45);
}

.modzumac .stripe-pay-btn:active:not(:disabled) {
    transform: translateY(0);
}

.modzumac .stripe-pay-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.modzumac .btn-spinner {
    display: none;
    align-items: center;
    justify-content: center;
}

.modzumac .spinner-small {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-top-color: white;
    border-radius: 50%;
    animation: modzumac-spin 0.7s linear infinite;
}

@keyframes modzumac-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ==================== 12. RESUMEN DE PAGO ==================== */
.modzumac .payment-summary {
    background: #faf8f5 !important; /* ✅ Fondo beige explícito */
    border-radius: 16px;
    padding: 24px;
    border: 2px solid rgba(122, 139, 153, 0.2) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    height: fit-content;
}

.modzumac .summary-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937 !important; /* ✅ Texto oscuro explícito */
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: none;
}

.modzumac .summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #1f2937 !important;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.modzumac .summary-row span {
    color: #1f2937 !important; /* ✅ Texto oscuro explícito */
}

.modzumac .summary-row strong {
    color: #1f2937 !important; /* ✅ Texto oscuro explícito */
    font-weight: 600;
    text-align: right;
}

.modzumac .summary-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--zumac-border) 50%, transparent 100%);
    margin: 12px 0;
}

.modzumac .summary-row.total {
    padding-top: 14px;
    font-size: 1.125rem;
    font-weight: 700;
}

.modzumac .summary-row.total span {
    color: #1A7B8C !important; /* ✅ Turquesa explícito para Total */
}

.modzumac .summary-row.total strong {
    font-size: 1.5rem;
    color: #1A7B8C !important; /* ✅ Turquesa explícito para Total */
}

.modzumac .payment-summary-card {
    background: #ffffff !important; /* ✅ Fondo blanco explícito */
    border: 2px solid rgba(122, 139, 153, 0.2) !important;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 16px;
}

.modzumac .summary-section {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(122, 139, 153, 0.2) !important;
}

.modzumac .summary-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.modzumac .summary-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1f2937 !important; /* ✅ Texto oscuro explícito */
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================== 13. SEGURIDAD Y CONFIANZA ==================== */
.modzumac .trust-section {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(122, 139, 153, 0.2) !important;
}

.modzumac .trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.modzumac .trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #ffffff !important; /* ✅ Fondo blanco explícito */
    border: 1.5px solid rgba(122, 139, 153, 0.2) !important;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.modzumac .trust-badge:hover {
    border-color: #00BCD4 !important; /* ✅ Cyan explícito */
    box-shadow: 0 2px 8px rgba(0, 188, 212, 0.2);
}

.modzumac .trust-badge svg {
    flex-shrink: 0;
    color: #00BCD4 !important; /* ✅ Cyan explícito */
}

.modzumac .trust-badge.stripe-badge svg {
    color: #00BCD4 !important; /* ✅ Cyan explícito */
}

.modzumac .badge-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.modzumac .badge-text strong {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1f2937 !important; /* ✅ Texto oscuro explícito */
    line-height: 1.3;
}

.modzumac .badge-text span {
    font-size: 0.75rem;
    color: #7A8B99 !important; /* ✅ Texto secundario explícito */
    line-height: 1.3;
}

.modzumac .privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: #faf8f5 !important; /* ✅ Fondo beige explícito */
    border: 1px solid rgba(122, 139, 153, 0.2) !important;
    border-radius: 10px;
    font-size: 0.8125rem;
    color: #7A8B99 !important; /* ✅ Texto claro explícito */
    line-height: 1.5;
}

.modzumac .privacy-note svg {
    flex-shrink: 0;
    color: #7A8B99 !important; /* ✅ Texto secundario explícito */
    margin-top: 2px;
}

.modzumac .success-overlay {
    animation: modzumac-fadeIn 0.4s ease-out;
}

/* ==================== 14. CONVERSIÓN DE MONEDA ==================== */
.modzumac .currency-conversion-notice {
    margin-top: 16px;
    padding: 16px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    border: 2px solid #fbbf24;
}

.modzumac .currency-conversion-notice .notice-content {
    width: 100%;
}

.modzumac .currency-conversion-notice .notice-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #78350f;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.modzumac .currency-conversion-notice .notice-amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 4px;
    line-height: 1.2;
}

.modzumac .currency-conversion-notice .notice-subtitle {
    font-size: 0.75rem;
    color: #78350f;
    font-weight: 500;
}

.modzumac .currency-disclaimer {
    margin-top: 10px;
    padding: 10px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    color: var(--zumac-text-light);
    line-height: 1.4;
}

.modzumac .currency-disclaimer svg {
    flex-shrink: 0;
    color: #00BCD4;
}

/* ==================== 15. MODAL PAYPAL ==================== */
.modzumac .paypal-confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10003; /* ✅ OPTIMIZADO: Aumentado de 10000 a 10003 */
    opacity: 0;
    pointer-events: none; /* ✅ Bloquear clicks mientras invisible */
    transition: opacity 0.3s ease-out;
    backdrop-filter: blur(4px);
}

.modzumac .paypal-confirmation-overlay.active {
    opacity: 1;
    pointer-events: auto; /* ✅ Permitir clicks cuando visible */
}

.modzumac .paypal-confirmation-modal {
    background: var(--zumac-background);
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--zumac-border);
    transform: scale(0.9);
    transition: transform 0.3s ease-out;
}

.modzumac .paypal-confirmation-overlay.active .paypal-confirmation-modal {
    transform: scale(1);
}

.modzumac .paypal-modal-header {
    padding: 24px;
    border-bottom: 2px solid var(--zumac-border);
    display: flex;
    align-items: center;
    gap: 16px;
}

.modzumac .paypal-header-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #00BCD4 0%, #1A7B8C 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important; /* ✅ MANTENER: Icono blanco en fondo azul */
    flex-shrink: 0;
}

.modzumac .paypal-modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000; /* ✅ CAMBIADO: De blanco a negro */
    margin: 0;
}

.modzumac .paypal-modal-body {
    padding: 24px;
}

.modzumac .paypal-redirect-message {
    font-size: 1rem;
    color: var(--zumac-text-light);
    margin: 0 0 20px 0;
    text-align: center;
}

.modzumac .paypal-warning-message {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    margin-top: 16px;
}

.modzumac .paypal-warning-message svg {
    flex-shrink: 0;
    color: #00BCD4;
    margin-top: 2px;
}

.modzumac .paypal-warning-message span {
    font-size: 0.875rem;
    color: var(--zumac-text-light);
    line-height: 1.5;
}

.modzumac .paypal-modal-footer {
    padding: 20px 24px;
    border-top: 2px solid var(--zumac-border);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.modzumac .paypal-btn-cancel,
.modzumac .paypal-btn-continue {
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modzumac .paypal-btn-cancel {
    background: transparent;
    color: var(--zumac-text-light);
    border: 2px solid var(--zumac-border);
}

.modzumac .paypal-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--zumac-text-secondary);
}

.modzumac .paypal-btn-continue {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    font-weight: 700;
}

.modzumac .paypal-btn-continue:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.modzumac .paypal-btn-continue:active {
    transform: translateY(0);
}

/* ==================== 16. OPTIMIZACIONES MOBILE Y RESPONSIVE ==================== */

/* Responsive para 2 métodos premium */
@media (max-width: 640px) {
    .modzumac .payment-grid-two-methods {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .modzumac .payment-card-premium {
        min-height: 130px;
    }

    .modzumac .payment-card-inner {
        padding: 16px 12px;
    }

    /* Selector de idiomas en modal Stripe */
    .modzumac .stripe-language-selector-wrapper {
        margin: 0 8px;
    }

    .modzumac .stripe-language-selector-wrapper .language-btn {
        padding: 5px 8px;
        gap: 4px;
    }

    .modzumac .stripe-language-selector-wrapper .language-btn-flag {
        width: 14px;
        height: 14px;
    }

    .modzumac .stripe-language-selector-wrapper .language-btn-text {
        font-size: 10px;
    }

    /* PayPal Modal */
    .modzumac .paypal-confirmation-modal {
        width: 95%;
        max-width: none;
    }

    .modzumac .paypal-modal-header {
        padding: 20px;
    }

    .modzumac .paypal-modal-header h2 {
        font-size: 1.3rem;
    }

    .modzumac .paypal-modal-body {
        padding: 20px;
    }

    .modzumac .paypal-modal-footer {
        flex-direction: column;
        padding: 16px 20px;
    }

    .modzumac .paypal-btn-cancel,
    .modzumac .paypal-btn-continue {
        width: 100%;
        justify-content: center;
    }
}

/* ==================== BOTÓN VER POLÍTICAS ==================== */
/* Estilos para el botón "Ver políticas de reservación y cancelación" */
.modzumac .btn-view-policies {
    margin: 8px 0 16px 28px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    color: #0891b2;
    border: 2px solid #0891b2;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(8, 145, 178, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
}

.modzumac .btn-view-policies:hover {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    color: #ffffff;
    border-color: #0e7490;
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
    transform: translateY(-2px);
}

.modzumac .btn-view-policies:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(8, 145, 178, 0.2);
}

/* ==================== MODAL DE POLÍTICAS ==================== */
/* Estilos para el modal de políticas de reservación y cancelación */
.modzumac .policies-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002; /* ✅ OPTIMIZADO: Aumentado de 10000 a 10002 */
    opacity: 1;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.modzumac .policies-modal {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: modzumac-slideUpModal 0.3s ease-out;
    margin: auto;
}

@keyframes modzumac-slideUpModal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modzumac .policies-modal-header {
    padding: 20px 24px;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 16px 16px 0 0;
}

.modzumac .policies-modal-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.modzumac .policies-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modzumac .policies-modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.modzumac .policies-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
}

.modzumac .policies-content h3 {
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0f2fe;
}

.modzumac .policies-content p {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.modzumac .policies-content ul {
    margin: 10px 0;
    padding-left: 24px;
}

.modzumac .policies-content li {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.modzumac .policies-modal-footer {
    padding: 16px 24px;
    border-top: 2px solid #e5e7eb;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
    background: #f9fafb;
    border-radius: 0 0 16px 16px;
    flex-wrap: wrap;
}

.modzumac .btn-download-policies {
    padding: 10px 20px;
    background: #1f2937;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.modzumac .btn-download-policies:hover {
    background: #374151;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.3);
}

.modzumac .btn-accept-policies {
    padding: 10px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.modzumac .btn-accept-policies:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* ==================== RESPONSIVE MODAL DE POLÍTICAS ==================== */
@media (max-width: 768px) {
    .modzumac .policies-modal-overlay {
        padding: 12px;
    }

    .modzumac .policies-modal {
        width: 95%;
        max-width: 100%;
        max-height: 90vh;
    }

    .modzumac .policies-modal-header {
        padding: 16px 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .modzumac .policies-modal-title {
        font-size: 1.2rem;
        width: 100%;
    }

    .modzumac .policies-modal-close {
        position: absolute;
        top: 16px;
        right: 18px;
    }

    .modzumac .policies-modal-body {
        padding: 16px 18px;
    }

    .modzumac .policies-content h3 {
        font-size: 1rem;
    }

    .modzumac .policies-content p,
    .modzumac .policies-content li {
        font-size: 0.875rem;
    }

    .modzumac .policies-modal-footer {
        padding: 14px 18px;
        flex-direction: column;
        gap: 8px;
    }

    .modzumac .btn-download-policies,
    .modzumac .btn-accept-policies {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .modzumac .policies-modal {
        width: 100%;
        border-radius: 12px;
        max-height: 95vh;
    }

    .modzumac .policies-modal-header {
        padding: 14px 16px;
    }

    .modzumac .policies-modal-title {
        font-size: 1.1rem;
        padding-right: 40px;
    }

    .modzumac .policies-modal-close {
        right: 16px;
        top: 14px;
        width: 32px;
        height: 32px;
        font-size: 1.75rem;
    }

    .modzumac .policies-modal-body {
        padding: 14px 16px;
    }

    .modzumac .policies-content h3 {
        font-size: 0.95rem;
        margin-top: 16px;
    }

    .modzumac .policies-content p,
    .modzumac .policies-content li {
        font-size: 0.85rem;
    }
}

/* Responsive para paso 4 - selector de idioma */
/* ==================== TABLET (1024px) ==================== */
@media (max-width: 1024px) {
    /* ✅ FIX: Step 4 en tablet - IGUAL que Step 1 (450px) */
    .modzumac .hero-search-card.step-4 {
        flex: 0 0 450px !important;
        max-width: 450px !important;
        min-width: 450px !important;
        width: 450px !important;
        padding: 18px 32px !important;
        overflow-y: visible !important;
        overflow-x: visible !important;
    }
}

/* ==================== MOBILE (768px) ==================== */
@media (max-width: 768px) {
    /* Modal del Paso 4 más estrecho en mobile */
    .modzumac .hero-search-card.step-4 {
        flex: 1 !important;
        width: 100% !important;
        max-width: 540px !important;
        padding: 24px 26px !important;
        margin: 0 auto !important;
        height: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        overflow-x: visible !important;
    }

    /* ✅ MODAL DE STRIPE: Mismo ancho que Steps en mobile (540px) */
    .modzumac .stripe-modal {
        max-width: 540px !important;
        width: auto !important; /* ✅ No usar 100% para respetar max-width */
        margin: 0 auto !important; /* ✅ Centrar el modal */
        flex: 1 !important;
        border-radius: 16px !important;
        box-sizing: border-box !important;
    }

    .modzumac .step4-title-with-language {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .modzumac .step4-title-with-language .language-selector {
        align-self: flex-end;
    }

    /* Responsive para Paso 4 */
    .modzumac .step4-two-columns {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .modzumac .payment-grid-compact {
        grid-template-columns: 1fr;
    }

    /* Modal de Stripe - Responsive */
    .modzumac .payment-content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modzumac .security-notice {
        padding: 12px 16px;
        font-size: 0.8125rem;
    }

    .modzumac .stripe-modal-body {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    /* ✅ PROTEGIDO: Step 4 en mobile pequeño - IGUAL que Step 1 */
    .modzumac .hero-search-card.step-4 {
        padding: 20px !important;
    }

    .modzumac .step4-title-with-language {
        gap: 10px;
    }

    .modzumac .step4-title-with-language .language-btn {
        padding: 4px 7px;
        gap: 4px;
    }

    .modzumac .step4-title-with-language .language-btn-flag {
        width: 14px;
        height: 14px;
    }

    .modzumac .step4-title-with-language .language-btn-text {
        font-size: 9px;
    }

    .modzumac .ticket-header-compact {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        padding: 10px 14px;
    }

    .modzumac .ticket-total-amt {
        font-size: 1.3rem;
    }

    .modzumac .payment-card-compact {
        min-height: 80px;
        padding: 10px;
    }

    /* ✅ STRIPE MODAL - Mobile pequeño (480px) */
    .modzumac .stripe-modal-overlay {
        z-index: 2147483647 !important; /* ✅ Z-index MÁXIMO para estar sobre TODO incluyendo chatbot */
    }

    .modzumac .stripe-modal {
        max-width: calc(100% - 20px) !important;
        margin: 10px !important;
        border-radius: 16px !important;
    }

    .modzumac .stripe-modal-header {
        padding: 20px 20px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .modzumac .header-content {
        width: 100%;
    }

    .modzumac .header-text h2 {
        font-size: 1.4rem;
    }

    .modzumac .header-subtitle {
        font-size: 0.8125rem;
    }

    .modzumac .stripe-modal-close {
        position: absolute;
        top: 16px;
        right: 16px;
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .modzumac .stripe-modal-body {
        padding: 16px;
    }

    .modzumac .payment-content-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 20px;
    }

    .modzumac .card-input-section,
    .modzumac .payment-summary {
        padding: 18px;
    }

    .modzumac .card-label {
        font-size: 0.875rem;
    }

    .modzumac .summary-header h3 {
        font-size: 1rem;
    }

    .modzumac .summary-row {
        font-size: 0.875rem;
    }

    .modzumac .summary-row.total strong {
        font-size: 1.3rem;
    }

    .modzumac .stripe-pay-btn {
        padding: 14px 20px;
        font-size: 1rem;
    }

    .modzumac .trust-badges {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .modzumac .trust-badge {
        padding: 12px 14px;
    }

    .modzumac .security-notice {
        padding: 10px 14px;
        font-size: 0.8125rem;
        gap: 10px;
    }
}

/* ✅ iPHONE 14 PRO MAX (430px) - ANCHO 355px */
@media (max-width: 480px) and (min-width: 401px) {
    .modzumac .hero-search-card.step-4 {
        padding: 10px 8px !important;
        max-width: 355px !important;
        width: 355px !important;
        min-width: 355px !important;
    }

    /* ✅ STRIPE MODAL - iPHONE 14 PRO MAX */
    .modzumac .stripe-modal {
        max-width: calc(100% - 20px) !important;
        margin: 10px !important;
        border-radius: 16px !important;
    }

    .modzumac .stripe-modal-header {
        padding: 18px 18px 14px;
    }

    .modzumac .header-text h2 {
        font-size: 1.3rem;
    }

    .modzumac .header-subtitle {
        font-size: 0.8rem;
    }

    .modzumac .lock-icon {
        width: 46px;
        height: 46px;
    }

    .modzumac .stripe-modal-close {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .modzumac .stripe-modal-body {
        padding: 16px;
    }

    .modzumac .card-input-section,
    .modzumac .payment-summary {
        padding: 18px;
    }

    /* ✅ STRIPE MODAL - ANCHO COMPLETO iPHONE 14 PRO MAX */
    .modzumac .stripe-modal {
        max-width: calc(100% - 16px) !important;
        margin: 8px !important;
    }

    .modzumac .stripe-modal-body {
        padding: 12px !important;
    }

    .modzumac .card-input-section {
        padding: 12px !important;
    }

    /* ✅ STRIPE CARD ELEMENT - iPHONE 14 PRO MAX */
    .modzumac .stripe-card-element {
        padding: 16px 8px !important;
        font-size: 16px !important; /* 16px previene auto-zoom en iOS */
        min-height: 52px !important;
        touch-action: manipulation !important;
        -webkit-text-size-adjust: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .modzumac .stripe-card-element iframe {
        height: 24px !important;
        width: 100% !important;
    }

    /* ✅ PREVENIR AUTO-ZOOM EN INPUTS DEL MODAL - iPHONE 14 PRO MAX */
    .modzumac .stripe-modal input,
    .modzumac .stripe-modal select,
    .modzumac .stripe-modal textarea {
        font-size: 16px !important; /* 16px previene auto-zoom en iOS */
        touch-action: manipulation !important;
        -webkit-text-size-adjust: 100% !important;
    }

    .modzumac .card-label {
        font-size: 0.875rem;
        margin-bottom: 12px;
    }

    .modzumac .summary-header h3 {
        font-size: 1rem;
    }

    .modzumac .summary-row {
        font-size: 0.875rem;
        padding: 10px 0;
    }

    .modzumac .summary-row.total {
        padding-top: 14px;
        font-size: 1rem;
    }

    .modzumac .summary-row.total strong {
        font-size: 1.3rem;
    }

    .modzumac .stripe-pay-btn {
        padding: 14px 18px;
        font-size: 1rem;
    }

    .modzumac .trust-badge {
        padding: 12px 14px;
    }

    .modzumac .badge-text strong {
        font-size: 0.8rem;
    }

    .modzumac .badge-text span {
        font-size: 0.75rem;
    }

    .modzumac .security-notice {
        padding: 10px 14px;
        font-size: 0.8rem;
        gap: 10px;
    }
}

/* ✅ MOBILE MUY PEQUEÑO (400px) - iPHONE 14/15 PRO */
@media (max-width: 400px) {
    /* ✅ CARD PRINCIPAL - ANCHO 350px PARA iPHONE 14/15 PRO */
    .modzumac .hero-search-card.step-4 {
        padding: 10px 8px !important;
        max-width: 350px !important;
        width: 350px !important;
        min-width: 350px !important;
    }

    /* ✅ TÍTULO - LEGIBLE */
    .modzumac .step4-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    /* ✅ TICKET - LEGIBLE PARA iPHONE 14/15 PRO */
    .modzumac .ticket-header-compact {
        padding: 8px 12px;
    }

    .modzumac .ticket-brand {
        font-size: 1rem;
    }

    .modzumac .ticket-code {
        font-size: 0.6rem;
        padding: 3px 8px;
    }

    .modzumac .ticket-section-compact {
        padding: 10px 12px;
    }

    .modzumac .ticket-section-title {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .modzumac .ticket-lbl {
        font-size: 0.75rem;
    }

    .modzumac .ticket-val {
        font-size: 0.8rem;
    }

    .modzumac .ticket-total-compact {
        padding: 10px 12px;
    }

    .modzumac .ticket-total-lbl {
        font-size: 0.75rem;
    }

    .modzumac .ticket-total-amt {
        font-size: 1.4rem;
    }

    /* ✅ MÉTODOS DE PAGO - MÁS COMPACTOS */
    .modzumac .payment-methods-title {
        font-size: 0.65rem;
        margin-bottom: 8px;
    }

    .modzumac .payment-card-compact {
        min-height: 70px;
        padding: 8px;
        gap: 6px;
    }

    .modzumac .payment-icon-compact {
        height: 35px;
        padding: 4px;
        max-width: 100px;
    }

    .modzumac .payment-name-compact {
        font-size: 0.55rem;
    }

    /* ✅ CHECKBOXES - LEGIBLES */
    .modzumac .confirm-checkboxes-compact {
        padding: 10px;
        gap: 10px;
    }

    .modzumac .confirm-checkbox-item {
        font-size: 0.85rem;
        gap: 8px;
    }

    .modzumac .confirm-checkbox-item input[type="checkbox"] {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
    }

    /* ✅ STRIPE MODAL - Optimización para pantallas muy pequeñas */
    .modzumac .stripe-modal {
        max-width: calc(100% - 16px) !important;
        margin: 8px !important;
        border-radius: 12px !important;
    }

    .modzumac .stripe-modal-header {
        padding: 16px 16px 12px;
    }

    .modzumac .header-text h2 {
        font-size: 1.2rem;
    }

    .modzumac .lock-icon {
        width: 44px;
        height: 44px;
    }

    .modzumac .stripe-modal-close {
        width: 32px;
        height: 32px;
        font-size: 18px;
        top: 12px;
        right: 12px;
    }

    .modzumac .stripe-modal-body {
        padding: 14px;
    }

    .modzumac .card-input-section,
    .modzumac .payment-summary {
        padding: 16px;
    }

    /* ✅ STRIPE MODAL - ANCHO COMPLETO iPHONE 14/15 PRO */
    .modzumac .stripe-modal {
        max-width: calc(100% - 12px) !important;
        margin: 6px !important;
        border-radius: 12px !important;
    }

    .modzumac .stripe-modal-body {
        padding: 10px !important;
    }

    .modzumac .card-input-section {
        padding: 10px !important;
        border-radius: 10px !important;
    }

    /* ✅ STRIPE CARD ELEMENT - iPHONE 14/15 PRO */
    .modzumac .stripe-card-element {
        padding: 14px 6px !important;
        font-size: 16px !important; /* 16px previene auto-zoom en iOS */
        min-height: 50px !important;
        border-radius: 8px !important;
        touch-action: manipulation !important;
        -webkit-text-size-adjust: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .modzumac .stripe-card-element iframe {
        height: 22px !important;
        width: 100% !important;
    }

    /* ✅ PREVENIR AUTO-ZOOM EN INPUTS DEL MODAL - iPHONE 14/15 PRO */
    .modzumac .stripe-modal input,
    .modzumac .stripe-modal select,
    .modzumac .stripe-modal textarea {
        font-size: 16px !important; /* 16px previene auto-zoom en iOS */
        touch-action: manipulation !important;
        -webkit-text-size-adjust: 100% !important;
    }

    .modzumac .card-info-text {
        padding: 10px !important;
        font-size: 0.75rem !important;
        gap: 6px !important;
    }

    .modzumac .card-label {
        font-size: 0.8125rem;
        margin-bottom: 10px;
    }

    .modzumac .summary-header h3 {
        font-size: 0.9375rem;
    }

    .modzumac .summary-row {
        font-size: 0.8125rem;
        padding: 8px 0;
    }

    .modzumac .summary-row.total {
        padding-top: 12px;
        font-size: 0.9375rem;
    }

    .modzumac .summary-row.total strong {
        font-size: 1.2rem;
    }

    .modzumac .stripe-pay-btn {
        padding: 12px 16px;
        font-size: 0.9375rem;
    }

    .modzumac .trust-badge {
        padding: 10px 12px;
    }

    .modzumac .badge-text strong {
        font-size: 0.75rem;
    }

    .modzumac .badge-text span {
        font-size: 0.6875rem;
    }

    .modzumac .security-notice {
        padding: 8px 12px;
        font-size: 0.75rem;
        gap: 8px;
    }
}

/* ==================== OPTIMIZACIONES TÁCTILES PARA MOBILE ==================== */
/* ✅ Touch-friendly: Todos los botones y elementos interactivos optimizados para dedos */
@media (hover: none) and (pointer: coarse) {
    /* Payment method cards */
    .modzumac .payment-method-card {
        min-height: 88px;
    }

    .modzumac .payment-method-card:active {
        transform: scale(0.97);
        transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ✅ STRIPE MODAL - Touch Optimization */
    .modzumac .stripe-modal-close {
        min-width: 44px;
        min-height: 44px;
    }

    .modzumac .stripe-modal-close:active {
        transform: scale(0.92);
        transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .modzumac .stripe-pay-btn {
        min-height: 48px;
    }

    .modzumac .stripe-pay-btn:active:not(:disabled) {
        transform: scale(0.98);
        transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ✅ PAYPAL MODAL - Touch Optimization */
    .modzumac .paypal-btn-cancel,
    .modzumac .paypal-btn-continue {
        min-height: 48px;
    }

    .modzumac .paypal-btn-cancel:active,
    .modzumac .paypal-btn-continue:active {
        transform: scale(0.98);
        transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ✅ POLICIES MODAL - Touch Optimization */
    .modzumac .policies-modal-close,
    .policies-modal-close {
        min-width: 44px;
        min-height: 44px;
    }

    .modzumac .policies-modal-close:active,
    .policies-modal-close:active {
        transform: scale(0.92);
        transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .modzumac .btn-download-policies,
    .modzumac .btn-accept-policies,
    .btn-download-policies,
    .btn-accept-policies {
        min-height: 48px;
    }

    .modzumac .btn-download-policies:active,
    .modzumac .btn-accept-policies:active,
    .btn-download-policies:active,
    .btn-accept-policies:active {
        transform: scale(0.98);
        transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* ✅ Payment cards touch feedback */
    .modzumac .payment-card-compact:active,
    .modzumac .payment-card-premium:active {
        transform: scale(0.98);
        transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

/* Animaciones */
@keyframes modzumac-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modzumac-slideDown {
    from {
        transform: translateX(-50%) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* ============================================================================
   INPUTS DE TEXTO COLOR NEGRO - STEP 4
   ============================================================================ */

/* ✅ CRÍTICO: Sobrescribir color de texto de inputs en Step 4 */
.modzumac .hero-search-card.step-4 .search-input,
.modzumac .hero-search-card.step-4 input[type="text"],
.modzumac .hero-search-card.step-4 input[type="email"],
.modzumac .hero-search-card.step-4 input[type="tel"],
.modzumac .hero-search-card.step-4 input[type="number"],
.modzumac .hero-search-card.step-4 select.search-input,
.modzumac .hero-search-card.step-4 textarea {
    color: #000000 !important; /* ✅ NEGRO para mejor legibilidad */
    font-weight: 600 !important; /* ✅ Peso medio para mejor lectura */
}

/* Placeholder en gris claro */
.modzumac .hero-search-card.step-4 .search-input::placeholder,
.modzumac .hero-search-card.step-4 input[type="text"]::placeholder,
.modzumac .hero-search-card.step-4 input[type="email"]::placeholder,
.modzumac .hero-search-card.step-4 input[type="tel"]::placeholder,
.modzumac .hero-search-card.step-4 input[type="number"]::placeholder {
    color: #9ca3af !important; /* ✅ Gris claro para placeholder */
    font-weight: 500 !important;
}

/* Options de select también negro */
.modzumac .hero-search-card.step-4 select.search-input option {
    color: #000000 !important; /* ✅ NEGRO en opciones de select */
    background: #ffffff !important; /* ✅ Fondo blanco */
}

/* Labels en negro */
.modzumac .hero-search-card.step-4 .search-label {
    color: #000000 !important; /* ✅ NEGRO para labels */
    font-weight: 700 !important;
}

/* ============================================================================
 * MODAL DE POLÍTICAS - ESTILOS GLOBALES (Sin prefijo .modzumac)
 * ============================================================================ */

/* IMPORTANTE: El modal se inserta en body, fuera de .modzumac,
   por lo que necesita estilos globales */

.policies-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002; /* ✅ OPTIMIZADO: Aumentado de 10000 a 10002 (sin prefijo .modzumac) */
    opacity: 1;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.policies-modal {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUpModal 0.3s ease-out;
    margin: auto;
}

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

.policies-modal-header {
    padding: 20px 24px;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 16px 16px 0 0;
}

.policies-modal-title {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
}

.policies-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.policies-modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.policies-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    background: white;
}

.policies-content {
    color: #334155;
    line-height: 1.7;
}

.policies-content h3 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 8px;
}

.policies-content h3:first-child {
    margin-top: 0;
}

.policies-content p {
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.policies-content strong {
    color: #1e293b;
    font-weight: 600;
}

.policies-content ul {
    margin: 8px 0 12px 0;
    padding-left: 24px;
}

.policies-content ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.policies-modal-footer {
    padding: 20px 24px;
    border-top: 2px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    background: #f9fafb;
    border-radius: 0 0 16px 16px;
}

.btn-download-policies {
    padding: 10px 20px !important;
    background: #1f2937 !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    border: none !important;
    cursor: pointer !important;
}

.btn-download-policies:hover {
    background: #111827 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(31, 41, 55, 0.3);
}

.btn-accept-policies {
    padding: 10px 24px !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
}

.btn-accept-policies:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

/* Responsive para modal de políticas */
@media (max-width: 768px) {
    .policies-modal-overlay {
        padding: 10px;
    }

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

    .policies-modal-header {
        padding: 16px 20px;
    }

    .policies-modal-title {
        font-size: 1.2rem;
    }

    .policies-modal-body {
        padding: 20px;
    }

    .policies-content h3 {
        font-size: 1rem;
    }

    .policies-content p,
    .policies-content ul li {
        font-size: 0.9rem;
    }

    .policies-modal-footer {
        padding: 16px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .btn-download-policies,
    .btn-accept-policies {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .policies-modal {
        width: 100%;
        max-height: 95vh;
        border-radius: 12px;
    }

    .policies-modal-header {
        padding: 14px 16px;
        border-radius: 12px 12px 0 0;
    }

    .policies-modal-title {
        font-size: 1.1rem;
    }

    .policies-modal-body {
        padding: 16px;
    }

    .policies-content h3 {
        font-size: 0.95rem;
        margin-top: 20px;
    }

    .policies-content p,
    .policies-content ul li {
        font-size: 0.85rem;
    }

    .policies-modal-footer {
        padding: 14px 16px;
        border-radius: 0 0 12px 12px;
    }
}

/* ============================================================================
 * FIN DEL MÓDULO PASO 4
 * ============================================================================ */
