/* Cookie Consent Banner Styles */
#cookieConsentBanner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 15px;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

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

.cookie-text {
    flex: 1;
    margin-right: 20px;
    min-width: 300px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cookie-accept {
    background-color: #28a745;
    color: black;
}

.cookie-accept:hover {
    background-color: #218838;
}

.cookie-decline {
    background-color: #dc3545;
    color: white;
}

.cookie-decline:hover {
    background-color: #c82333;
}

.cookie-settings {
    background-color: #6c757d;
    color: white;
}

.cookie-settings:hover {
    background-color: #5a6268;
}

/* Cookie Settings Modal */
#cookieSettingsModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
    width: 100%;
    color: #333;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
    color: #6c757d;
}

.cookie-category {
    margin: 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

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

.cookie-category h4 {
    margin-bottom: 5px;
}

.cookie-category p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

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

.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.save-settings {
    background-color: #2196F3;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
    float: right;
}

.save-settings:hover {
    background-color: #0b7dda;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}
