/* ============================================================
   UI-ALERTS.CSS - Loaders, alertas, notificaciones y mensajes
   Real Sensi FF V3.0
   ============================================================ */

/* ========== BOTONES FLOTANTES ========== */
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    background-color: var(--whatsapp);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.faq-float {
    position: fixed;
    width: 45px;
    height: 45px;
    bottom: 20px;
    left: 20px;
    background-color: var(--premium);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: transform 0.2s;
}

.faq-float:hover {
    transform: scale(1.05);
}

.faq-float img {
    width: 28px;
    height: 28px;
}

/* ========== PERFIL ICONO ========== */
.perfil-icono {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 204, 0, 0.3);
    z-index: 15;
}

.perfil-icono:hover {
    background: rgba(255, 204, 0, 0.2);
    border-color: var(--premium);
    transform: scale(1.05);
}

/* ========== BOTÓN ACTION ========== */
.button-action {
    background: var(--primary);
    color: white;
    padding: 15px;
    width: 100%;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 10px;
    border: none;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(255, 60, 60, 0.3);
}

.button-action:active {
    transform: scale(0.96);
}

/* ========== SELECTOR DE IDIOMA ========== */
.idioma-selector {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 20;
}

.idioma-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 6px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 18px;
    transition: all 0.2s ease;
}

.idioma-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 204, 0, 0.4);
}

.idioma-flecha {
    font-size: 10px;
    color: #aaa;
    margin-left: 2px;
}

.idioma-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    background: #1a1a2a;
    border: 1px solid rgba(255, 204, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    min-width: 140px;
    z-index: 99999;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.idioma-dropdown.show {
    display: block;
}

.idioma-opcion {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    color: #ccc;
    transition: all 0.15s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 8px;
}

.idioma-opcion:last-child {
    border-bottom: none;
}

.idioma-opcion:hover {
    background: rgba(255, 204, 0, 0.15);
    color: #fff;
}

.idioma-opcion.activo {
    background: rgba(255, 204, 0, 0.1);
    color: var(--premium);
    font-weight: bold;
}

/* ========== PREMIUM TEASER ========== */
.premium-teaser-section {
    background: linear-gradient(135deg, rgba(255, 204, 0, 0.08), rgba(255, 204, 0, 0.02));
    margin: 5px 15px 15px 15px;
    border-radius: 18px;
    padding: 15px;
    border: 1px solid rgba(255, 204, 0, 0.25);
}

.teaser-title {
    text-align: center;
    color: var(--premium);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.3);
}

.teaser-benefits {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.teaser-benefit-item {
    color: #ddd;
    font-size: 12px;
    padding: 5px 0 5px 8px;
    border-left: 3px solid var(--premium);
    background: rgba(0, 0, 0, 0.15);
    border-radius: 0 8px 8px 0;
}

.teaser-cta-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--premium), #ffaa00);
    color: #000;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 6px 15px rgba(255, 204, 0, 0.3);
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.teaser-cta-btn:hover {
    transform: scale(0.98);
    box-shadow: 0 4px 10px rgba(255, 204, 0, 0.4);
    background: linear-gradient(135deg, #ffdd33, #ffbb00);
}

.teaser-cta-btn:active {
    transform: scale(0.96);
}

/* ========== VIP SECTION MEJORADA ========== */
.vip-section-mejorada {
    background: transparent;
}

.vip-header-premium {
    text-align: center;
    margin-bottom: 15px;
}

.vip-titulo-principal {
    font-size: 22px;
    font-weight: 900;
    color: var(--premium);
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(255, 204, 0, 0.5);
    margin-bottom: 5px;
}

.vip-subtitulo {
    font-size: 12px;
    color: #ccc;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.vip-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--premium), transparent);
    margin: 10px 0 15px 0;
}

.vip-beneficios-card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

.vip-beneficios-titulo {
    color: var(--premium);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vip-beneficios-lista {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vip-beneficio-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 12px;
}

.vip-beneficio-icono {
    color: var(--premium);
    font-size: 16px;
    min-width: 24px;
    text-align: center;
}

.vip-precio-card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 204, 0, 0.2);
}

.vip-precio-titulo {
    color: var(--premium);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.vip-precio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
}

.vip-precio-item {
    background: rgba(255, 204, 0, 0.08);
    border-radius: 14px;
    padding: 12px 8px;
    text-align: center;
    border: 1px solid rgba(255, 204, 0, 0.15);
}

.precio-moneda {
    font-size: 11px;
    color: #aaa;
    margin-bottom: 5px;
}

.precio-valor {
    font-size: 22px;
    font-weight: 900;
    color: var(--success-green);
    margin-bottom: 3px;
}

.precio-metodo {
    font-size: 10px;
    color: #888;
}

.nequi-info {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-bottom: 5px;
    color: #FFFFFF;
}

.nequi-icon {
    width: 18px;
    height: 18px;
    margin-right: 6px;
}

.vip-contacto-email {
    text-align: center;
    font-size: 12px;
    color: #ccc;
    margin: 8px 0;
}

.vip-contacto-whatsapp {
    text-align: center;
    font-size: 12px;
    color: var(--whatsapp);
    cursor: pointer;
    margin: 5px 0;
    transition: all 0.2s;
}

.vip-contacto-whatsapp:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.vip-codigo-card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 204, 0, 0.3);
}

.vip-codigo-titulo {
    color: var(--premium);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-align: center;
}

.vip-codigo-input {
    width: 100%;
    padding: 14px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 204, 0, 0.3);
    border-radius: 14px;
    color: white;
    text-align: center;
    font-size: 16px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
    transition: all 0.2s;
}

.vip-codigo-input:focus {
    border-color: var(--premium);
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.2);
    outline: none;
}

.vip-codigo-input::placeholder {
    color: #666;
    letter-spacing: 2px;
}

.vip-codigo-nota {
    text-align: center;
    font-size: 10px;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 12px;
}

.vip-footer-frase {
    text-align: center;
    margin-top: 18px;
    font-size: 12px;
    color: var(--premium);
    font-style: italic;
    text-shadow: 0 0 8px rgba(255, 204, 0, 0.3);
}

/* ========== ENERGÍA PREMIUM BAR ========== */
.energia-premium-bar {
    background: rgba(0,0,0,0.5);
    border-radius: 20px;
    padding: 8px 15px;
    margin: 10px 0;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    color: var(--premium);
    border: 1px solid rgba(255,204,0,0.3);
}

/* ========== TIENDA ICONO ========== */
.tienda-icono {
    position: absolute;
    top: 20px;
    left: 20px;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 204, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 15;
    transition: all 0.2s ease;
}

.tienda-icono:hover {
    background: rgba(255, 204, 0, 0.2);
    border-color: var(--premium);
    transform: scale(1.05);
}

.tienda-icono img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* ============================================
   NOTIFICACIÓN EN MODAL DE TIENDA (PARTE INFERIOR - SIN ANIMACIÓN)
   ============================================ */

.notificacion-modal-advertencia {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 60, 60, 0.15);
    border: 1px solid rgba(255, 60, 60, 0.3);
    border-radius: 10px;
    padding: 10px 18px;
    color: #ff3c3c;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    max-width: 90%;
    z-index: 10006;
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notificacion-modal-advertencia.exito {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

/* ============================================
   NOTIFICACIÓN INFERIOR CENTRADA (PROFESIONAL)
   ============================================ */

.notificacion-inferior {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    width: 90%;
    max-width: 400px;
    background: rgba(18, 18, 28, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 14px;
    animation: subirNotificacion 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.notificacion-inferior .icono {
    font-size: 22px;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.notificacion-inferior .mensaje {
    flex: 1;
    font-size: 13px;
    color: #eee;
    line-height: 1.4;
}

.notificacion-inferior .cerrar {
    color: #666;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
    background: none;
    border: none;
    padding: 4px;
}

.notificacion-inferior .cerrar:hover {
    color: #fff;
}

.notificacion-inferior.error {
    border-left: 4px solid #ef4444;
}

.notificacion-inferior.error .icono {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.notificacion-inferior.exito {
    border-left: 4px solid #22c55e;
}

.notificacion-inferior.exito .icono {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

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