/* --- LE SLIDER DES KPIs (Haut de page) --- */


/* --- NAVIGATION PAR ONGLETS --- */
.erp-main-tabs {
    margin-top: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

.erp-tab-nav {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 15px;
}

.tab-link {
    padding: 15px 25px;
    border: none;
    background: none;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
}

.tab-link.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

.tab-pane {
    display: none;
    padding: 25px;
    animation: fadeIn 0.3s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- TABLEAU STYLE EXCEL --- */
.excel-mode table {
    width:auto;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums; /* Chiffres bien alignés */
}

.excel-mode th {
    font-size: 11px;
    color: #000000;
}

.excel-mode td {  
  color: #000000;;
}



/* Style spécifique pour les selecteurs dans le tableau */
.excel-select {
  
    border-radius: 20px;
    background: #fff;
    font-size: 11px;
}
/* Container de défilement pour les grands tableaux */
.excel-wrapper {
    overflow-x: auto;
    border: 1px solid #02010117;
    border-radius: 20px;
}

.erp-excel-table {
    width: fit-content;
    border-collapse: collapse;
    background: white;
    font-size: 11px;
}

.erp-excel-table th {
    color: #000000;
    font-weight: 600;
  
    
    white-space: nowrap;
}

.erp-excel-table td {
    color: #000000;
}

.erp-excel-table tr:hover {
    background-color: #fffff;
}

/* Coloration automatique des montants (optionnel) */
.erp-excel-table td:contains('DT') {
    font-weight: bold;
    color: #059669;
}
.erp-search-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-bottom: 20px;
}

#erp-global-search {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #02010117;
    border-radius: 20px;
    font-size: 11px;
    outline: none;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

#erp-global-search:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.erp-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}