@charset "utf-8";
/* CSS Document */
body {
    font-family: 'Aptos', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.query-tile {
    transition: all 0.3s ease-in-out;
    transform: translateY(0);
}

.query-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #0072ce;
}

.modal-overlay {
    backdrop-filter: blur(4px);
}

.modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.accordion-content.open {
    max-height: 800px;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    transition: max-height 0.3s ease-in, padding 0.3s ease-in;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-icon.open {
    transform: rotate(180deg);
}

/* Classes génériques pour les types (jusqu'à 10 catégories) */
.tag-type-0 { background-color: #002855; color: white; }
.tag-type-1 { background-color: #0072ce; color: white; }
.tag-type-2 { background-color: #00aec7; color: white; }
.tag-type-3 { background-color: #26d07c; color: white; }
.tag-type-4 { background-color: #ff585d; color: white; }
.tag-type-5 { background-color: #eb6fbd; color: white; }
.tag-type-6 { background-color: #f3d03e; color: #002855; }
.tag-type-7 { background-color: #9333ea; color: white; }
.tag-type-8 { background-color: #059669; color: white; }
.tag-type-9 { background-color: #ea580c; color: white; }

.sort-button {
    background-color: #f3f4f6;
    color: #374151;
    border-color: #d1d5db;
}

.sort-button.active {
    background-color: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.sort-button:hover {
    background-color: #e5e7eb;
}

.sort-button.active:hover {
    background-color: #2563eb;
}

.loading-spinner {
    border: 4px solid #f3f4f6;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.espacement {
   padding-bottom: 15px;
}

.text-blue-601 {
    color:#0072ce;
}

/* Styles pour le footer */
.cc-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
}

.cc-logo {
    fill: #6b7280;
    transition: fill 0.2s ease;
}

.cc-footer:hover .cc-logo {
    fill: #374151;
}