.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1F2937;
    color: white;
    padding: calc(var(--spacing-unit) * 3);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
}

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

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

.cookie-banner-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: calc(var(--spacing-unit) * 3);
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text p {
    margin: 0 0 calc(var(--spacing-unit) * 1) 0;
    font-size: 14px;
    line-height: 1.5;
    color: #E5E7EB;
}

.cookie-banner-text a {
    color: #9EE6D9;
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    flex-wrap: wrap;
}

.cookie-btn {
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
    border-radius: calc(var(--spacing-unit) * 1);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    transition: all 0.2s;
}

.cookie-btn-accept {
    background: #4F46E5;
    color: white;
}

.cookie-btn-accept:hover {
    background: #3730A3;
}

.cookie-btn-reject {
    background: #6B7280;
    color: white;
}

.cookie-btn-reject:hover {
    background: #4B5563;
}

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

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

.cookie-preferences {
    display: none;
    margin-top: calc(var(--spacing-unit) * 3);
    padding-top: calc(var(--spacing-unit) * 3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.cookie-preferences h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: white;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(var(--spacing-unit) * 2) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-option:last-child {
    border-bottom: none;
}

.cookie-option-info {
    flex: 1;
    padding-right: calc(var(--spacing-unit) * 2);
}

.cookie-option-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.cookie-option-desc {
    font-size: 13px;
    color: #9CA3AF;
    line-height: 1.4;
}

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

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

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4B5563;
    border-radius: 24px;
    transition: 0.3s;
}

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

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #4F46E5;
}

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

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

.cookie-preferences-actions {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 3);
}

.cookie-btn-save {
    background: #4F46E5;
    color: white;
}

.cookie-btn-save:hover {
    background: #3730A3;
}

@media (max-width: 768px) {
    .cookie-banner-main {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner-buttons {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
        min-width: auto;
    }

    .cookie-option {
        flex-direction: column;
        align-items: flex-start;
        gap: calc(var(--spacing-unit) * 2);
    }

    .cookie-option-info {
        padding-right: 0;
    }
}
