/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: bottom 0.5s ease-in-out;
    padding: 0 1rem;
    font-family: var(--body-font);
}

.cookie-consent.active {
    bottom: 0;
}

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

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

.cookie-header h3 {
    margin-bottom: 0;
    color: var(--primary-color);
}

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

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

.cookie-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.cookie-option {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 8px;
}

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

.cookie-option input {
    margin-right: 0.5rem;
    width: auto;
}

.cookie-option p {
    font-size: 0.875rem;
    color: var(--gray-color);
    margin-bottom: 0;
}

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

/* Responsive styling */
@media (max-width: 768px) {
    .cookie-options {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons button {
        width: 100%;
    }
}

/* Cookie notification bar (minimized version) */
.cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-bar p {
    margin: 0;
    font-size: 0.875rem;
}

.cookie-bar-actions {
    display: flex;
    gap: 0.75rem;
}

.cookie-bar button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: background-color 0.3s ease;
}

.cookie-bar button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cookie-bar button.settings {
    background: white;
    color: var(--primary-color);
}

.cookie-bar button.settings:hover {
    background: #f0f0f0;
}

@media (max-width: 600px) {
    .cookie-bar {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        text-align: center;
    }
    
    .cookie-bar-actions {
        width: 100%;
        justify-content: center;
    }
}
