/* Cookie Consent Banner Styles */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1E3A5F;
    color: #FFFFFF;
    padding: 20px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

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

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

.cookie-consent-content {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-content h3 {
    color: #C9A962;
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-family: 'Playfair Display', Georgia, serif;
}

.cookie-consent-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.cookie-consent-content a {
    color: #C9A962;
    text-decoration: underline;
}

.cookie-consent-content a:hover {
    color: #D4BA73;
}

.cookie-consent-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-btn-accept {
    background-color: #C9A962;
    color: #2C2C2C;
}

.cookie-btn-accept:hover {
    background-color: #B8963A;
    transform: translateY(-2px);
}

.cookie-btn-reject {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.cookie-btn-reject:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #FFFFFF;
}

.cookie-btn-settings {
    background-color: transparent;
    color: #C9A962;
    text-decoration: underline;
    padding: 12px 15px;
}

.cookie-btn-settings:hover {
    color: #D4BA73;
}

/* Cookie Settings Modal */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.cookie-modal {
    background-color: #FFFFFF;
    border-radius: 10px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid #E0E0E0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-header h3 {
    color: #8B2942;
    font-size: 1.5rem;
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
}

.cookie-modal-close {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #F8F8F8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-modal-close:hover {
    background-color: #E0E0E0;
}

.cookie-modal-close svg {
    width: 18px;
    height: 18px;
    fill: #666666;
}

.cookie-modal-body {
    padding: 30px;
}

.cookie-modal-intro {
    color: #666666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Cookie Category */
.cookie-category {
    margin-bottom: 20px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    overflow: hidden;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #F8F8F8;
}

.cookie-category-header h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #2C2C2C;
}

.cookie-category-header span {
    font-size: 0.85rem;
    color: #666666;
}

/* Toggle Switch */
.cookie-toggle {
    position: relative;
    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;
    transition: 0.3s;
    border-radius: 26px;
}

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

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

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

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

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

.cookie-category-content {
    padding: 15px 20px;
}

.cookie-category-content p {
    color: #666666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* Cookie Modal Footer */
.cookie-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid #E0E0E0;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.cookie-modal-btn {
    padding: 12px 28px;
    border-radius: 5px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.cookie-modal-btn-save {
    background-color: #8B2942;
    color: #FFFFFF;
}

.cookie-modal-btn-save:hover {
    background-color: #6B1D32;
}

.cookie-modal-btn-accept-all {
    background-color: #C9A962;
    color: #2C2C2C;
}

.cookie-modal-btn-accept-all:hover {
    background-color: #B8963A;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent {
        padding: 15px;
    }
    
    .cookie-consent-container {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent-content {
        min-width: auto;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .cookie-modal {
        max-height: 100vh;
        border-radius: 0;
    }
    
    .cookie-modal-header {
        padding: 20px;
    }
    
    .cookie-modal-body {
        padding: 20px;
    }
    
    .cookie-modal-footer {
        padding: 15px 20px;
        flex-direction: column;
    }
    
    .cookie-modal-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-consent-content h3 {
        font-size: 1.1rem;
    }
    
    .cookie-consent-content p {
        font-size: 0.85rem;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
}
