/* 
 * Cookie Consent Styles for Udressciop
 * Author: Udressciop Team
 * Version: 1.0
 */

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    padding: 1.5rem;
    display: none;
}

.cookie-content h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.cookie-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--dark-gray);
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie-settings {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

.cookie-option {
    margin-bottom: 1rem;
}

.cookie-option label {
    font-weight: bold;
    margin-left: 0.5rem;
    cursor: pointer;
}

.cookie-description {
    margin-left: 1.75rem;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.cookie-banner.show {
    display: block;
    animation: slidein 0.5s ease-out;
}

@keyframes slidein {
    from {
        opacity: 0;
        transform: translate(-50%, 100px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@media (max-width: 576px) {
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}
