.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.cookie-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cookie-banner {
    background: #1a1d24;
    color: #e4e7eb;
    width: 100%;
    max-width: 100%;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: all 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-overlay.active .cookie-banner {
    transform: translateY(0);
}

.cookie-content {
    padding: 22px;
    font-size: 15px;
    line-height: 1.5;
}

.cookie-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.cookie-text {
    margin-bottom: 20px;
    color: #a0aec0;
}

.cookie-text a {
    color: #4c6fff;
    text-decoration: none;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-category {
    background: #12151c;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.category-title {
    font-weight: 500;
    font-size: 16px;
}

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

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

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

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

input:checked + .slider {
    background-color: #4c6fff;
}

input:checked + .slider:before {
    transform: translateX(18px);
}

input:disabled + .slider {
    background-color: #2d3748;
    cursor: not-allowed;
}

input:disabled + .slider:before {
    background-color: #a0aec0;
}

.category-description {
    font-size: 14px;
    color: #a0aec0;
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.cookie-btn {
    flex: 1;
    min-width: 120px;
    padding: 14px 20px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-settings {
    background: #2d3748;
    color: #e4e7eb;
}

.btn-save {
    background: #4c6fff;
    color: white;
    width: 100%;
}

@media (max-width: 480px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-content {
        padding: 18px;
    }
}


