/* 
* VandaEmpha Center - Cookie Consent Stylesheet
* Author: VandaEmpha Center
* Version: 1.0
*/

/* Cookie Consent Popup */
.cookie-consent {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: 500px;
    margin: 0 auto;
    z-index: 9999;
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: none;
}

.cookie-consent.active {
    display: block;
    animation: slideUp 0.5s forwards;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    padding: 1.5rem;
}

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

.cookie-header h3 {
    margin: 0;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition-quick);
}

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

.cookie-settings {
    margin: 1.5rem 0;
}

.cookie-option {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    padding: 0.8rem;
    border-radius: var(--border-radius-sm);
    background-color: var(--light-gray);
}

.cookie-option:last-child {
    margin-bottom: 0;
}

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

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

.cookie-option label span {
    font-size: 0.8rem;
    color: var(--text-medium);
    margin-left: 0.3rem;
}

.cookie-option p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-medium);
    padding-left: 1.5rem;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cookie-actions button {
    flex: 1;
    min-width: 120px;
}

.cookie-footer {
    font-size: 0.8rem;
    color: var(--text-medium);
}

.cookie-footer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-footer a:hover {
    color: var(--primary-dark);
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .cookie-consent {
        left: 0.5rem;
        right: 0.5rem;
        bottom: 0.5rem;
    }
    
    .cookie-content {
        padding: 1rem;
    }
    
    .cookie-actions {
        flex-direction: column;
    }
    
    .cookie-actions button {
        width: 100%;
    }
}
