.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-charcoal);
    color: var(--color-white);
    padding: 24px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-banner.show {
    display: block;
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-banner-main {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text p {
    margin: 0 0 8px 0;
    font-size: 14px;
    line-height: 1.6;
}

.cookie-banner-text a {
    color: var(--color-white);
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-btn-accept {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.cookie-btn-accept:hover {
    background-color: #4A6B4A;
}

.cookie-btn-reject {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.cookie-btn-reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.cookie-btn-customize {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cookie-btn-customize:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-white);
}

.cookie-preferences {
    display: none;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-preferences.show {
    display: block;
}

.cookie-preferences h3 {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 600;
}

.cookie-category {
    margin-bottom: 16px;
    padding: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-category-title {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.cookie-category-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: var(--color-primary);
}

input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

input:disabled + .cookie-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-toggle.disabled {
    opacity: 0.6;
}

.cookie-required-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.cookie-preferences-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 20px 16px;
    }

    .cookie-banner-main {
        flex-direction: column;
    }

    .cookie-banner-actions {
        width: 100%;
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }

    .cookie-category-header {
        flex-wrap: wrap;
    }

    .cookie-preferences-actions {
        width: 100%;
    }

    .cookie-preferences-actions .cookie-btn {
        flex: 1;
    }
}
