.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    max-height: 90vh;
    overflow-y: auto;
}

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

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

.cookie-banner-header {
    margin-bottom: 16px;
}

.cookie-banner-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1A1A2E;
    margin: 0 0 8px 0;
}

.cookie-banner-text p {
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4A4A5E;
}

.cookie-banner-text a {
    color: #3D52A0;
    text-decoration: underline;
}

.cookie-banner-text a:hover {
    color: #2E3E7F;
}

.cookie-preferences {
    margin: 20px 0;
    padding: 20px;
    background-color: #F8F9FA;
    border-radius: 8px;
    display: none;
}

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

.cookie-preference-item {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #E5E5EA;
}

.cookie-preference-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.cookie-preference-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.cookie-preference-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1A1A2E;
    margin: 0;
}

.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: #E5E5EA;
    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: #3D52A0;
}

.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-preference-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #6B6B7E;
    margin: 0;
}

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

.cookie-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: inherit;
    white-space: nowrap;
}

.cookie-btn-accept {
    background-color: #3D52A0;
    color: white;
    border-color: #3D52A0;
}

.cookie-btn-accept:hover {
    background-color: #2E3E7F;
    border-color: #2E3E7F;
}

.cookie-btn-reject {
    background-color: transparent;
    color: #4A4A5E;
    border-color: #E5E5EA;
}

.cookie-btn-reject:hover {
    border-color: #4A4A5E;
}

.cookie-btn-customize {
    background-color: transparent;
    color: #3D52A0;
    border-color: #3D52A0;
}

.cookie-btn-customize:hover {
    background-color: #3D52A0;
    color: white;
}

.cookie-btn-save {
    background-color: #FF7A63;
    color: white;
    border-color: #FF7A63;
}

.cookie-btn-save:hover {
    background-color: #E66A53;
    border-color: #E66A53;
}

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

    .cookie-banner-actions {
        flex-direction: column;
        gap: 8px;
    }

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