/* Banner de Cookies Global - VIB3S */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(45, 27, 61, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    z-index: 2147483647 !important; /* Máximo z-index posible */
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    pointer-events: auto !important;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner.hide {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2147483647;
    pointer-events: auto;
}

.cookie-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.cookie-text {
    font-size: clamp(0.85rem, 2vw, 1rem);
    color: #F5F0FA;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    min-width: 200px;
}

.cookie-link {
    color: #B794F4;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-link:hover {
    color: #D6BCFA;
}

.cookie-accept-btn {
    font-size: clamp(0.85rem, 2vw, 1rem);
    font-weight: bold;
    text-transform: uppercase;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #E8E0F0 100%);
    color: #2D1B3D;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    font-family: inherit;
    position: relative;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.cookie-accept-btn:hover {
    background: linear-gradient(135deg, #FFFFFF 0%, #D4C8E8 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .cookie-text {
        min-width: unset;
    }
    
    .cookie-accept-btn {
        width: 100%;
        max-width: 200px;
    }
}
