.hidden {
    display: none !important;
}
.search-address {
    display: inline-block;
    
}
.search-btn {
    padding: 6px 12px;
    margin-left: 10px;
    background-color: #4285f4;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}
.search-btn:disabled{
    background-color: grey;
}
.search-btn:hover {
    background-color: #3367d6;
}
.search-btn i {
    margin-right: 5px;
}
#suggestions {
    position: absolute;
    border: 2px solid #000;
    background-color: #fff;
    z-index: 1000;
}


.results-info {
    margin: 10px 0;
    padding: 10px;
    background: #e9ecef;
    border-radius: 4px;
    display: flex;
    /* justify-content: space-between; */
    /* gap: 20px; */
    align-items: center;
    flex-direction: column;
    width: 100%;
}
.results-header {
    width: 100%;
    /* Ajoute du style si besoin */
    background: #eee;
    padding: 8px;
}
.results-count {
    font-weight: bold;
}
.results-stats {
    display: flex;
    gap: 20px;
    align-items: center;
}













.progress-container {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    margin: 10px 0;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: #4CAF50;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    margin-top: 5px;
    font-size: 14px;
    color: #666;
}


table {
    border-collapse: collapse;
    width: 100%;
    font-size: 12px;
}
th, td {
    border: 1px solid #ddd;
    padding: 4px;
    text-align: left;
    white-space: nowrap;
}
th {
    background-color: #f5f5f5;
    position: sticky;
    top: 0;
    background: white;
    z-index: 1;
    padding: 8px;
    border-bottom: 2px solid #ddd;
    cursor: pointer;
    white-space: nowrap;
}
th:hover {
    background-color: #f5f5f5;
}
th::after {
    content: '⇅';
    margin-left: 5px;
    opacity: 0.3;
}
th.sort-asc::after {
    content: '↑';
    opacity: 1;
}
th.sort-desc::after {
    content: '↓';
    opacity: 1;
}
tr:nth-child(even) {
    /* background-color: #f9f9f9; */
}
tr:hover {
    background-color: #bbdefb;
}
#resultsTable {
    overflow: auto;
    max-height: 80vh;
}
.filters {
    margin: 20px 0;
    padding: 10px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.filters select, .filters input {
    margin: 0 10px;
    padding: 4px;
    border: 1px solid #ddd;
    border-radius: 3px;
}
.filter-group {
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
}
.filter-group label {
    margin-right: 5px;
    font-weight: bold;
}

input[type="number"] {
    width: 100px !important;
}
select {
    min-width: 150px;
}
.map-link {
    display: inline-block;
    padding: 2px 8px;
    margin: 0 2px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
    font-size: 11px;
    white-space: nowrap;
    background-color: white;
    position: relative;
}
.map-link:hover {
    background-color: #f5f5f5;
    border-color: #aaa;
    color: #000;
}
.map-link i {
    margin-right: 3px;
    font-size: 12px;
}
[data-tooltip] {
    position: relative;
    cursor: help;
}
[data-tooltip]:before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    background-color: #333;
    color: white;
    font-size: 11px;
    white-space: nowrap;
    border-radius: 3px;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    z-index: 1000;
}
[data-tooltip]:hover:before {
    visibility: visible;
    opacity: 1;
}
.summary-row {
    background-color: #e3f2fd;
    font-weight: bold;
    cursor: pointer;
    position: relative;
}
.summary-row td[col="id_mutation"] {
    padding-left: 25px;
}
.summary-row td[col="id_mutation"]::before {
    content: '▶';
    position: absolute;
    left: 8px;
    transition: transform 0.2s;
}
.summary-row.expanded td[col="id_mutation"]::before {
    transform: rotate(90deg);
}
.summary-row td {
    border-top: 2px solid #90caf9;
    border-bottom: 2px solid #90caf9;
}
.summary-row:hover {
    /* background-color: #bbdefb; */
}
.simple-row {
    background-color: #e3f2fd;
    font-weight: bold;
}
.simple-row td {
    border-top: 2px solid #90caf9;
    border-bottom: 2px solid #90caf9;
}
.child-row {
    display: none;
    background-color: #f8f9fa;
}
.child-row:hover {
    background-color: #cfa7ab;
}
.outlier-row {
    background-color: #ca8f95;
}

/* Styles pour le loader */
.loader {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 15px;
    background-color: #fff3cd;
    border-radius: 4px;
    border: 1px solid #ffeeba;
    color: #856404;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: #856404;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 15px;
    background-color: #f8d7da;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
    color: #721c24;
}    