/* Estilos para el Banner Flotante de Aviso de Privacidad y Cookies Coparmex 2026 */

#coparmex-privacy-banner-wrapper {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: calc(100% - 32px);
    max-width: 1040px;
    z-index: 99999;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
}

#coparmex-privacy-banner-wrapper.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.privacy-banner-card {
    background: #112D69; /* Azul Oficial COPARMEX Dark */
    background: linear-gradient(135deg, #112D69 0%, #1e3a8a 100%);
    border: 1px solid rgba(164, 127, 12, 0.35); /* Borde Dorado Acento */
    border-radius: 16px;
    padding: 1.35rem 1.8rem;
    box-shadow: 0 15px 35px rgba(17, 45, 105, 0.4), 0 0 20px rgba(164, 127, 12, 0.15);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: #ffffff;
}

.privacy-banner-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 12px;
    background: rgba(164, 127, 12, 0.15);
    border: 1px solid rgba(164, 127, 12, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A47F0C; /* Dorado COPARMEX */
    font-size: 1.4rem;
}

.privacy-banner-body {
    flex: 1;
}

.privacy-banner-title {
    font-family: 'Exo 2', 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: #ffffff;
    letter-spacing: 0.02em;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.privacy-banner-title::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: #A47F0C;
}

.privacy-banner-text {
    font-family: 'Outfit', sans-serif;
    color: #cbd5e1;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

.privacy-banner-text strong {
    color: #ffffff;
}

.privacy-banner-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    white-space: nowrap;
}

.btn-read-privacy {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: 'Exo 2', 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    padding: 0.65rem 1.1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-read-privacy:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-color: #A47F0C;
}

.btn-accept-privacy {
    background: #A47F0C; /* Dorado Institucional COPARMEX */
    background: linear-gradient(135deg, #A47F0C 0%, #c59b15 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.4rem;
    font-family: 'Exo 2', 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.84rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(164, 127, 12, 0.35);
    transition: all 0.25s ease;
}

.btn-accept-privacy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(164, 127, 12, 0.5);
    background: linear-gradient(135deg, #b58d0d 0%, #d8aa18 100%);
}

@media (max-width: 900px) {
    .privacy-banner-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.2rem 1.3rem;
    }
    
    .privacy-banner-icon {
        display: none;
    }

    .privacy-banner-actions {
        width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .btn-accept-privacy, .btn-read-privacy {
        width: 100%;
        text-align: center;
    }
}
