/* 
 * Cookie Consent Styles for Sustainable Urban Living Canada
 */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.95);
    color: #fff;
    padding: 1rem;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.hidden {
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.cookie-content h3 {
    margin-bottom: 0.5rem;
    color: #fff;
}

.cookie-content p {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie-settings {
    background-color: #2a2a2a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    margin-top: 1rem;
}

.cookie-setting {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-setting:last-child {
    border-bottom: none;
    margin-bottom: 1rem;
    padding-bottom: 0;
}

.cookie-setting label {
    display: flex;
    align-items: center;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cookie-setting input[type="checkbox"] {
    margin-right: 0.5rem;
}

.cookie-setting p {
    margin-left: 1.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

#save-cookie-settings {
    margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}
