﻿/* Cookie consent banner */
#cookieConsentBanner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: #1a1a1a;
    color: #f2f2f2;
    padding: 20px 24px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
}

    #cookieConsentBanner.cookie-banner-hidden {
        display: none;
    }

.cookie-banner-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.cookie-banner-text {
    flex: 1 1 420px;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

    .cookie-banner-text a {
        color: #ffb3e6;
        text-decoration: underline;
    }

.cookie-banner-actions {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-btn {
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-btn-accept,
.cookie-btn-reject,
.cookie-btn-customize {
    background: #59004a;
    color: #fff;
}

    .cookie-btn-accept:hover,
    .cookie-btn-reject:hover,
    .cookie-btn-customize:hover {
        background: #223a66;
        color: #fff;
    }

.footer .copyright a.cookie-settings-link {
    text-decoration: none;
    color: inherit;
    font-weight: normal;
    cursor: pointer;
}

/* Preferences modal */
#cookiePreferencesModal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    #cookiePreferencesModal.cookie-modal-open {
        display: flex;
    }

.cookie-modal-box {
    background: #fff;
    color: #222;
    max-width: 480px;
    width: 100%;
    border-radius: 8px;
    padding: 28px;
    max-height: 90vh;
    overflow-y: auto;
}

    .cookie-modal-box h3 {
        margin-top: 0;
        color: #59004a;
    }

.cookie-modal-category {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

    .cookie-modal-category:last-of-type {
        border-bottom: none;
    }

.cookie-modal-category-text strong {
    display: block;
    margin-bottom: 4px;
}

.cookie-modal-category-text p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.cookie-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}
