.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    color: #333333;
    padding: 24px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: none;
    border-top: 3px solid #D4A574;
}

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

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

.cookie-banner-content {
    margin-bottom: 20px;
}

.cookie-banner-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #0A1628;
}

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

.cookie-banner-content a {
    color: #D4A574;
    text-decoration: underline;
}

.cookie-banner-content a:hover {
    color: #B88F5F;
}

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

.cookie-banner-button {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-banner-button-accept {
    background-color: #D4A574;
    color: #FFFFFF;
    border-color: #D4A574;
}

.cookie-banner-button-accept:hover {
    background-color: #B88F5F;
    border-color: #B88F5F;
}

.cookie-banner-button-reject {
    background-color: #FFFFFF;
    color: #0A1628;
    border-color: #8A8A8A;
}

.cookie-banner-button-reject:hover {
    background-color: #F5F5F5;
}

.cookie-banner-button-customize {
    background-color: #FFFFFF;
    color: #D4A574;
    border-color: #D4A574;
}

.cookie-banner-button-customize:hover {
    background-color: #FFF9F3;
}

.cookie-preferences-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-preferences-modal.show {
    display: flex;
}

.cookie-preferences-content {
    background-color: #FFFFFF;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
}

.cookie-preferences-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #0A1628;
    margin-bottom: 16px;
}

.cookie-preferences-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 24px;
}

.cookie-preference-item {
    border-bottom: 1px solid #F5F5F5;
    padding: 20px 0;
}

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

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

.cookie-preference-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #0A1628;
}

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

.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: #ccc;
    border-radius: 26px;
    transition: 0.3s;
}

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

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

.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-description {
    font-size: 13px;
    line-height: 1.5;
    color: #8A8A8A;
}

.cookie-preferences-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: flex-end;
}

.cookie-close-button {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #8A8A8A;
    cursor: pointer;
    padding: 4px 8px;
}

.cookie-close-button:hover {
    color: #333333;
}

@media (max-width: 768px) {
    .cookie-banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .cookie-banner-button {
        width: 100%;
        text-align: center;
    }

    .cookie-preferences-content {
        padding: 24px;
    }

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

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