/*
* GazCompare - Cookie Consent Stylesheet
* Author: GazCompare Team
* Version: 1.0
*/

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(33, 33, 33, 0.95);
    color: #fff;
    padding: 2rem;
    z-index: 9999;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.cookie-content p {
    margin-bottom: 2rem;
    max-width: 800px;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.cookie-settings-panel {
    display: none;
    max-width: 600px;
    margin: 2rem auto 0;
    background-color: #fff;
    color: #333;
    padding: 2rem;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.cookie-settings-panel h4 {
    margin-bottom: 2rem;
    text-align: center;
    color: #6a73a3;
}

.cookie-option {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
}

.cookie-option input[type="checkbox"] {
    margin-right: 1.5rem;
    margin-top: 0.5rem;
    min-width: 1.8rem;
    min-height: 1.8rem;
}

.cookie-option label {
    font-weight: bold;
    margin-bottom: 0.5rem;
    flex: 1;
}

.cookie-option p {
    margin-top: 0.5rem;
    margin-left: 3.3rem;
    color: #777;
    width: 100%;
}

.cookie-settings-buttons {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
    }
    
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons button {
        width: 100%;
        margin-bottom: 1rem;
    }

    .cookie-settings-panel {
        margin: 2rem 1rem 0;
    }

    .cookie-option {
        flex-direction: column;
    }

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

    .cookie-option p {
        margin-left: 0;
    }
}
