/* Couleur du header (couleur Eteko) */
.dhx_grid-header-cell {
    background-color: #6082B3 !important;
    color: white !important;
    text-align: left !important;
    font-size: 14px !important;
}

.dhx_grid-header-cell--align_right .dhx_grid-header-cell-text_content{
    justify-content: flex-end !important;
}

#filter-container .dhx_input {
    width: 100%;
    padding: 12px 12px 12px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    color: #1e293b;
    background-color: #ffffff;
    transition: all 0.3s ease;
    outline: none;
    margin-right: 25px;
}

#filter-container .dhx_layout-cell, #filter-container .dhx_form {
    background-color: unset;
}

#filter-container {
    display: flex;
}

#filter-container .dhx_form{
    align-items: baseline;
    padding: 0 !important;
}

#btn-export-stats{
    margin-left: auto;
    margin-right: 15px;
    background-color:#6082B3;
    color: white;
    border : none;
}

#filter-container .dhx_button--view_flat.dhx_button--color_primary{
    background-color: #6082B3 !important;
}

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-overlay.active {
    display: flex;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}