/**
 * =============================================================================
 * SISTEMA INTEGRAL TAROT FRACTAL
 * Módulo Adquisición de Bonos: Estilos del Modal, Paquetes y Pasarela PayPal
 * tarot-fractal.es - Octubre 2026
 * =============================================================================
 */

/* =============================================================================
   1. VENTANA MODAL DE ADQUISICIÓN DE BONOS
   ============================================================================= */
.modal-bonos-caja {
    max-width: 460px;
    width: 92%;
    background: linear-gradient(165deg, rgba(14, 46, 92, 0.98) 0%, rgba(7, 24, 52, 0.98) 100%);
    border: 1.5px solid var(--color-dorado, #D4AF37);
    border-radius: 18px;
    padding: 26px 20px 22px 20px;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(212, 175, 55, 0.2);
    animation: fadeInModalBonos 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes fadeInModalBonos {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(12px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* BOTÓN CERRAR SUPERIOR */
.modal-btn-cerrar {
    position: absolute;
    top: 14px;
    right: 14px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.65);
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    padding: 6px;
    border-radius: 50%;
    transition: color 0.2s ease, transform 0.2s ease;
}

.modal-btn-cerrar:hover {
    color: var(--color-dorado, #D4AF37);
    transform: rotate(90deg);
}

/* =============================================================================
   2. ENCABEZADO Y TÍTULOS
   ============================================================================= */
.bonos-encabezado {
    text-align: center;
    margin-bottom: 20px;
}

.bonos-icono-dorado {
    font-size: 34px;
    margin-bottom: 6px;
    animation: pulsoMistico 2s infinite ease-in-out;
}

.bonos-titulo-principal {
    color: var(--color-dorado, #D4AF37);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin: 0 0 6px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.bonos-descripcion {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 18px;
    margin: 0;
}

/* =============================================================================
   3. TARJETAS DE PAQUETES DE CONSULTAS
   ============================================================================= */
.bonos-contenedor-lista {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.bono-card {
    background: rgba(9, 33, 68, 0.90);
    border: 1.5px solid rgba(212, 175, 55, 0.35);
    border-radius: 14px;
    padding: 14px 16px;
    position: relative;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.bono-card:hover {
    border-color: var(--color-dorado, #D4AF37);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.bono-card-seleccionado {
    border: 2px solid var(--color-dorado, #D4AF37) !important;
    background: linear-gradient(135deg, rgba(14, 46, 92, 0.95) 0%, rgba(19, 58, 114, 0.95) 100%) !important;
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.35) !important;
}

/* ETIQUETAS DESTACADAS (MÁS POPULAR / MÁXIMO AHORRO) */
.bono-badge {
    position: absolute;
    top: -10px;
    right: 14px;
    background: linear-gradient(135deg, #F39C12 0%, #D35400 100%);
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 3px 10px;
    border-radius: 12px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
}

.bono-header-fila {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* RADIO SELECTOR PERSONALIZADO */
.bono-circulo-selector {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(212, 175, 55, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}

.bono-card-seleccionado .bono-circulo-selector {
    border-color: var(--color-amarillo-vivo, #F1C40F);
}

.bono-circulo-punto {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: transparent;
    transition: background 0.2s ease, transform 0.2s ease;
}

.bono-card-seleccionado .bono-circulo-punto {
    background: var(--color-amarillo-vivo, #F1C40F);
    transform: scale(1);
}

.bono-info-bloque {
    flex: 1;
    text-align: left;
}

.bono-titulo {
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.bono-card-seleccionado .bono-titulo {
    color: var(--color-dorado, #D4AF37);
}

.bono-subtitulo {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12px;
    font-weight: 600;
}

.bono-precio-bloque {
    text-align: right;
    flex-shrink: 0;
}

.bono-precio {
    color: var(--color-amarillo-vivo, #F1C40F);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* =============================================================================
   4. SECCIÓN Y BOTONES PAYPAL SMART BUTTONS
   ============================================================================= */
.bonos-separador-linea {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.35) 50%, transparent 100%);
    margin: 16px 0;
}

.bonos-paypal-seccion {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.bono-resumen-texto {
    color: #FFFFFF;
    font-size: 14px;
    margin-bottom: 14px;
    text-align: center;
}

.bono-resumen-texto strong {
    color: var(--color-amarillo-vivo, #F1C40F);
    font-size: 16px;
}

.paypal-botones-contenedor {
    width: 100%;
    min-height: 48px;
    margin-bottom: 12px;
}

.paypal-cargando-indicador {
    width: 100%;
    padding: 14px;
    background: rgba(7, 27, 54, 0.8);
    border: 1px dashed rgba(212, 175, 55, 0.4);
    border-radius: 10px;
    color: var(--color-dorado, #D4AF37);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
}

.bonos-seguridad-aviso {
    color: rgba(255, 255, 255, 0.65);
    font-size: 11.5px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 4px;
}

/* =============================================================================
   5. ADAPTACIÓN RESPONSIVA (MONITOR PC)
   ============================================================================= */
@media (min-width: 768px) {
    .modal-bonos-caja {
        max-width: 520px;
        padding: 32px 28px 26px 28px;
    }

    .bonos-titulo-principal {
        font-size: 22px;
    }

    .bono-card {
        padding: 16px 20px;
    }

    .bono-titulo {
        font-size: 16px;
    }

    .bono-precio {
        font-size: 22px;
    }
}
