/* Premium Cookie Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1100px;
    background: rgba(27, 30, 38, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 20px 30px;
    z-index: 999999; /* Extremely high z-index */
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-consent-banner.show {
    bottom: 30px;
}


.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-icon {
    font-size: 2.5rem;
    color: #ffa502;
}

.cookie-text h5 {
    margin: 0;
    font-weight: 800;
    color: #fff;
}

.cookie-text p {
    margin: 5px 0 0;
    color: #888ea8;
    font-size: 0.9rem;
}

.cookie-actions {
    display: flex;
    gap: 15px;
}

.btn-cookie {
    padding: 10px 30px;
    border-radius: 12px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-cookie-accept {
    background: #6c5ce7;
    color: #fff;
}

.btn-cookie-accept:hover {
    background: #5b4cc4;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

.btn-cookie-refuse {
    background: transparent;
    border: 1px solid #2e2f39;
    color: #888ea8;
}

.btn-cookie-refuse:hover {
    background: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
    border-color: #ff4d4d;
}

@media (max-width: 768px) {
    .cookie-consent-banner {
        flex-direction: column;
        text-align: right;
        gap: 14px;
        padding: 16px 20px;
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        border-radius: 22px 22px 0 0 !important;
        border-bottom: none !important;
        border-left: none !important;
        border-right: none !important;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5) !important;
    }
    .cookie-consent-banner.show {
        bottom: 0 !important;
    }
    .cookie-content {
        flex-direction: row;
        align-items: center;
        text-align: right;
        gap: 14px;
    }
    html[dir="ltr"] .cookie-content {
        text-align: left;
    }
    .cookie-icon {
        font-size: 1.4rem;
        width: 44px;
        height: 44px;
        min-width: 44px;
        border-radius: 12px;
        background: rgba(255, 165, 2, 0.15);
        color: #ffa502;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .cookie-text h5 {
        font-size: 0.95rem;
        margin: 0;
    }
    .cookie-text p {
        font-size: 0.78rem;
        line-height: 1.4;
        margin-top: 2px;
    }
    .cookie-actions {
        width: 100%;
        display: flex;
        gap: 10px;
    }
    .cookie-actions .btn-cookie {
        flex: 1;
        padding: 9px 16px;
        font-size: 0.88rem;
        border-radius: 10px;
        text-align: center;
    }
}

/* Print Styles: Completely hide cookie banner when printing */
@media print {
    .cookie-consent-banner,
    #cookieConsent {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

