/* Cookie notice, matched to the dark theme and gold accent. */

.cookie-consent-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--body-bg, #111);
    color: var(--theme-color-white, #fff);
    padding: 22px 24px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.45);
    z-index: 100000;
    transition: bottom 0.45s ease;
    font-family: var(--body-font-family, "Noto Sans", sans-serif);
    border-top: 2px solid var(--theme-color1, #fcdb66);
}

.cookie-consent-banner.visible {
    bottom: 0;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

@media (min-width: 768px) {
    .cookie-consent-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cookie-consent-text {
        flex: 1;
        padding-right: 28px;
    }

    .cookie-consent-buttons {
        flex-shrink: 0;
    }
}

.cookie-consent-text h3 {
    font-family: var(--heading-font-family, "Plus Jakarta Sans", sans-serif);
    margin: 0 0 8px;
    color: var(--theme-color-white, #fff);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 12px 22px;
    border-radius: 100px;
    cursor: pointer;
    font-family: var(--heading-font-family, "Plus Jakarta Sans", sans-serif);
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.cookie-btn-primary {
    background-color: var(--theme-color1, #fcdb66);
    border: 1px solid var(--theme-color1, #fcdb66);
    color: #111;
}

.cookie-btn-primary:hover {
    background-color: #fff;
    border-color: #fff;
    color: #111;
}

.cookie-btn-secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
}

.cookie-btn-secondary:hover {
    border-color: var(--theme-color1, #fcdb66);
    color: var(--theme-color1, #fcdb66);
}

.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.72);
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.cookie-settings-modal.visible {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-content {
    background-color: #161616;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(252, 219, 102, 0.35);
    display: flex;
    flex-direction: column;
}

.cookie-settings-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-settings-header h3 {
    margin: 0;
    font-family: var(--heading-font-family, "Plus Jakarta Sans", sans-serif);
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

.cookie-close-btn {
    background: none;
    border: 0;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
}

.cookie-close-btn:hover {
    opacity: 1;
    color: var(--theme-color1, #fcdb66);
}

.cookie-settings-body {
    padding: 22px 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    font-family: var(--body-font-family, "Noto Sans", sans-serif);
    line-height: 1.6;
}

.cookie-settings-body p {
    margin: 0 0 14px;
}

.cookie-settings-options {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cookie-option {
    background-color: rgba(255, 255, 255, 0.04);
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.cookie-option input[type="checkbox"] {
    margin-right: 10px;
    accent-color: var(--theme-color1, #fcdb66);
    transform: scale(1.15);
}

.cookie-option label {
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    font-family: var(--heading-font-family, "Plus Jakarta Sans", sans-serif);
}

.cookie-option-desc {
    margin: 6px 0 0 28px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.cookie-settings-footer {
    padding: 16px 24px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: right;
}
