/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: none;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-banner.visible {
    display: block;
    animation: slideUp 0.5s ease forwards;
}

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

.cookie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.cookie-header h3 {
    font-size: 2.2rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary-color);
}

.cookie-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray);
    cursor: pointer;
    transition: color 0.3s ease;
}

.cookie-close:hover {
    color: var(--dark);
}

.cookie-options {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cookie-option {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: var(--gray-lighter);
    transition: background-color 0.3s ease;
}

.cookie-option:hover {
    background-color: #e0e6f1;
}

.cookie-option input[type="checkbox"] {
    width: 2rem;
    height: 2rem;
    margin-top: 0.2rem;
}

.cookie-option label {
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 0;
    margin-right: auto;
}

.cookie-option p {
    flex-basis: 100%;
    margin: 0.5rem 0 0 3rem;
    color: var(--gray);
    font-size: 1.4rem;
}

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

.cookie-settings-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 3rem;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 500;
    border: none;
    cursor: pointer;
    display: none;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    font-size: 1.4rem;
}

.cookie-settings-btn.visible {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.cookie-settings-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Animation for cookie banner */
@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .cookie-content {
        padding: 2rem 1.5rem;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-option {
        padding: 1.2rem;
    }
    
    .cookie-settings-btn {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.8rem 1.2rem;
        font-size: 1.3rem;
    }
}
