/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2D3748;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    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: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #CBD5E0;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

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

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

.cookie-reject {
    background-color: transparent;
    color: #CBD5E0;
    border: 1px solid #4A5568;
}

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

.cookie-customize {
    background-color: #4A5568;
    color: white;
}

.cookie-customize:hover {
    background-color: #2D3748;
}

.cookie-secondary {
    background-color: #4A5568;
    color: white;
}

.cookie-secondary:hover {
    background-color: #2D3748;
}

.cookie-link {
    color: #CBD5E0;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid transparent;
}

.cookie-link:hover {
    color: white;
    border-bottom-color: white;
}

/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

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

.cookie-modal-content {
    background: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #E2E8F0;
}

.cookie-modal-header h3 {
    margin: 0;
    color: #2D3748;
    font-size: 1.25rem;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #718096;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-close:hover {
    color: #2D3748;
}

.cookie-modal-body {
    padding: 1.5rem;
}

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

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cookie-category-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.cookie-category-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 16px;
    height: 16px;
    accent-color: #DC2626;
}

.cookie-category-label input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-category-title {
    font-weight: 600;
    color: #2D3748;
    font-size: 1rem;
}

.cookie-category-desc {
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    margin-left: 2rem;
}

.cookie-modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #E2E8F0;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cookie-text p {
        font-size: 0.85rem;
    }
    
    .cookie-modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-content {
        padding: 0 15px;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .cookie-btn {
        flex: 1;
        max-width: 100px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .cookie-category-desc {
        margin-left: 1.5rem;
    }
}