/* Cookie Consent Banner Styles */
:root {
    /* Fallback variables if not defined in parent */
    --cookie-bg: #121212; 
    --cookie-text: #E0E1DD;
}

.cookie-consent-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-dark-2, #222); /* Matches site dark theme */
    color: #fff;
    padding: 20px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
    font-family: var(--body-font, "Manrope", sans-serif);
    border-top: 2px solid var(--primary-color, #E9021E);
}

.cookie-consent-banner.visible {
    bottom: 0;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .cookie-consent-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .cookie-consent-text {
        flex: 1;
        padding-right: 20px;
    }
    
    .cookie-consent-buttons {
        flex-shrink: 0;
    }
}

.cookie-consent-text h3 {
    font-family: var(--heading-font, "Oxanium", sans-serif);
    margin-top: 0;
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
}

.cookie-consent-text p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--heading-font, "Oxanium", sans-serif);
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-btn-primary {
    background-color: var(--primary-color, #E9021E);
    color: #fff;
}

.cookie-btn-primary:hover {
    background-color: #fff;
    color: var(--primary-color, #E9021E);
}

.cookie-btn-secondary {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.cookie-btn-secondary:hover {
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Modal Styles */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.cookie-settings-modal.visible {
    opacity: 1;
    visibility: visible;
}

.cookie-settings-content {
    background-color: var(--bg-dark-1, #121212);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 0; /* Boxy style matching theme */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.cookie-settings-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.02);
}

.cookie-settings-header h3 {
    margin: 0;
    font-family: var(--heading-font, "Oxanium", sans-serif);
    color: #fff;
    font-size: 1.4rem;
}

.cookie-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.cookie-close-btn:hover {
    opacity: 1;
}

.cookie-settings-body {
    padding: 25px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-family: var(--body-font, "Manrope", sans-serif);
    line-height: 1.6;
}

.cookie-settings-body p {
    margin-bottom: 15px;
}

.cookie-settings-options {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cookie-option {
    background-color: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-option input[type="checkbox"] {
    margin-right: 10px;
    accent-color: var(--primary-color, #E9021E);
    transform: scale(1.2);
}

.cookie-option label {
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    font-family: var(--heading-font, "Oxanium", sans-serif);
}

.cookie-option-desc {
    margin: 5px 0 0 28px; /* Align with label text */
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.cookie-settings-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: right;
    background-color: rgba(255, 255, 255, 0.02);
}
