.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

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

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px;
    gap: 32px;
}

.cookie-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cookie-text p {
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-light);
    margin: 0;
}

.cookie-policy-link {
    color: var(--primary-color);
    text-decoration: none;
}

.cookie-policy-link:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.cookie-btn.accept:hover {
    background: var(--primary-dark);
}

.cookie-btn.reject {
    background: #dc3545;
    color: var(--white);
}

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

.cookie-btn.customize {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

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

.cookie-settings {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    padding: 24px;
    max-height: 400px;
    overflow-y: auto;
}

.cookie-settings.hidden {
    display: none;
}

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

.cookie-settings-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 16px;
    background: var(--white);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.cookie-category-header {
    margin-bottom: 8px;
}

.cookie-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 12px;
}

.cookie-toggle input[type="checkbox"] {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 50px;
    height: 24px;
    background: #ccc;
    border-radius: 24px;
    transition: background 0.3s ease;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider {
    background: var(--primary-color);
}

.cookie-toggle input[type="checkbox"]:checked + .toggle-slider::before {
    transform: translateX(26px);
}

.cookie-toggle input[type="checkbox"]:disabled + .toggle-slider {
    background: var(--primary-color);
    opacity: 0.6;
    cursor: not-allowed;
}

.toggle-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.cookie-category-desc {
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-light);
    margin: 0;
    margin-left: 62px;
}

.cookie-settings-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .cookie-settings-buttons {
        flex-direction: column;
    }

    .cookie-category-desc {
        margin-left: 0;
        margin-top: 8px;
    }
}

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

    .cookie-btn {
        width: 100%;
    }

    .cookie-settings-buttons .cookie-btn {
        width: 100%;
    }
}