/* 
* Cookie Consent Stylesheet for Dravon.com
* Cleaning Services Website
*/

.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 1.5rem;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-consent-banner.active {
    transform: translateY(0);
    opacity: 1;
}

.cookie-consent-content {
    max-width: 1000px;
    margin: 0 auto;
}

.cookie-consent-content h2 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    color: #2c3e50;
}

.cookie-consent-content p {
    margin-bottom: 1.5rem;
    color: #666666;
}

.cookie-consent-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: flex-start;
}

.cookie-settings-panel {
    display: none;
    max-width: 1000px;
    margin: 1.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid #dddddd;
}

.cookie-settings-panel.active {
    display: block;
}

.cookie-settings-options {
    margin-bottom: 1.5rem;
}

.cookie-option {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.cookie-option label {
    display: flex;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.cookie-option input[type="checkbox"] {
    margin-right: 0.75rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.cookie-option span {
    flex: 1;
}

.cookie-option p {
    margin-left: 2.5rem;
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #666666;
}

.cookie-settings-actions {
    display: flex;
    justify-content: flex-end;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cookie-consent-options {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cookie-consent-options button {
        width: 100%;
    }
    
    .cookie-settings-actions {
        justify-content: center;
    }
    
    .cookie-settings-actions button {
        width: 100%;
    }
}
