/* GDPR Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2C2C2C;
    color: #F8F6F0;
    padding: 20px;
    box-shadow: 0 -4px 12px rgba(44, 44, 44, 0.15);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid #7D8471;
}

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

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

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

.cookie-banner-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #F8F6F0;
}

.cookie-banner-text p {
    font-size: 14px;
    line-height: 1.5;
    color: #D4D0C7;
    margin-bottom: 0;
}

.cookie-banner-text a {
    color: #7D8471;
    text-decoration: none;
    font-weight: 500;
}

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

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

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

.cookie-btn-accept {
    background: #7D8471;
    color: #F8F6F0;
}

.cookie-btn-accept:hover {
    background: #6A7160;
}

.cookie-btn-reject {
    background: transparent;
    color: #F8F6F0;
    border: 2px solid #5A5A5A;
}

.cookie-btn-reject:hover {
    background: #5A5A5A;
    border-color: #5A5A5A;
}

.cookie-btn-customize {
    background: transparent;
    color: #7D8471;
    border: 2px solid #7D8471;
}

.cookie-btn-customize:hover {
    background: #7D8471;
    color: #F8F6F0;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.8);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

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

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #E5E1D8;
}

.cookie-settings-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #2C2C2C;
    margin: 0;
}

.cookie-settings-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #5A5A5A;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.cookie-settings-close:hover {
    background: #E5E1D8;
    color: #2C2C2C;
}

.cookie-settings-description {
    font-size: 16px;
    color: #5A5A5A;
    line-height: 1.6;
    margin-bottom: 32px;
}

.cookie-category {
    margin-bottom: 24px;
    padding: 20px;
    background: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #E5E1D8;
}

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

.cookie-category-title {
    font-size: 18px;
    font-weight: 600;
    color: #2C2C2C;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    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: #D4D0C7;
    transition: 0.3s;
    border-radius: 24px;
}

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

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

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #A0A0A0;
    cursor: not-allowed;
}

.cookie-toggle input:disabled + .cookie-toggle-slider:before {
    background-color: #F0F0F0;
}

.cookie-category-description {
    font-size: 14px;
    color: #5A5A5A;
    line-height: 1.5;
    margin: 0;
}

.cookie-category.essential .cookie-category-title::after {
    content: " (Required)";
    font-size: 12px;
    color: #7D8471;
    font-weight: 400;
}

.cookie-settings-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #E5E1D8;
}

.cookie-settings-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-settings-btn-save {
    background: #7D8471;
    color: #F8F6F0;
}

.cookie-settings-btn-save:hover {
    background: #6A7160;
}

.cookie-settings-btn-cancel {
    background: transparent;
    color: #5A5A5A;
    border: 2px solid #D4D0C7;
}

.cookie-settings-btn-cancel:hover {
    background: #D4D0C7;
    border-color: #D4D0C7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .cookie-banner-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 100px;
    }
    
    .cookie-settings-content {
        padding: 24px;
        margin: 10px;
    }
    
    .cookie-settings-header h2 {
        font-size: 20px;
    }
    
    .cookie-settings-buttons {
        flex-direction: column;
    }
    
    .cookie-settings-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 16px;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    
    .cookie-settings-content {
        padding: 20px;
    }
    
    .cookie-category {
        padding: 16px;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}