/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2D2D2D;
    color: white;
    padding: 1.5rem 0;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: start;
}

.cookie-text p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #CCCCCC;
    margin-bottom: 1rem;
}

.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-shrink: 0;
}

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

.cookie-customize {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-accept {
    background-color: #7A8471;
    color: white;
}

.cookie-accept:hover {
    background-color: #6B7563;
}

.cookie-reject {
    background-color: transparent;
    color: #CCCCCC;
    border: 1px solid #555;
}

.cookie-reject:hover {
    background-color: #444;
    color: white;
}

.cookie-customize-btn {
    background-color: transparent;
    color: #8B8BA7;
    border: 1px solid #8B8BA7;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
}

.cookie-customize-btn:hover {
    background-color: #8B8BA7;
    color: white;
}

.cookie-link {
    color: #8B8BA7;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
}

.cookie-link:hover {
    color: white;
    text-decoration: underline;
}

/* Cookie Customization Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal h3 {
    color: #2D2D2D;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.cookie-option {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E0E0E0;
}

.cookie-option:last-child {
    border-bottom: none;
    margin-bottom: 2rem;
}

.cookie-option label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    color: #2D2D2D;
    font-weight: 600;
}

.cookie-option input[type="checkbox"] {
    margin-top: 0.25rem;
    transform: scale(1.2);
}

.cookie-option-info {
    margin-top: 0.5rem;
    margin-left: 2rem;
}

.cookie-option-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.cookie-modal-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-modal-save {
    background-color: #7A8471;
    color: white;
}

.cookie-modal-save:hover {
    background-color: #6B7563;
}

.cookie-modal-cancel {
    background-color: #E0E0E0;
    color: #666;
}

.cookie-modal-cancel:hover {
    background-color: #D0D0D0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cookie-actions {
        align-items: stretch;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .cookie-modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 1rem 0;
    }
    
    .cookie-modal {
        padding: 1rem;
    }
}