
/*# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VzdG9tLmNzcyIsInNvdXJjZXMiOlsiY3VzdG9tLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9 */
.sidebar-mini .select2-container--default{
    width: 100% !important;
}

/* .sidebar-mini .select2-container--default{
    width: 100% !important;
} */

.float-right{
    float: right;
}

.card-header{
    justify-content: space-between;
}

.text-red{
    color: red;
}

#produits-inventaire tbody span{
    font-weight: 600 !important;
}

.custom-switch:hover{
    cursor: pointer;
}

.custom-control-label::before {
    width: 1.2rem !important;
    height: 1.2rem !important;
}

.custom-radio .custom-control-input:checked ~ .custom-control-label::before, .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--orange) !important;
}

.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: var(--orange) !important;
    background-color: var(--orange) !important;
}

.form-check:hover{
    cursor: pointer !important;
}

.custom-control-label::after {
    width: 1.2rem !important;
    height: 1.2rem !important;
}

.custom-control-label{
    font-size: 14px !important;
    font-weight: 600 !important;
}

#div-taxes, #div-taxes h4, #div-taxes label{
    font-size: 16px !important;
    font-weight: 700 !important;
    color: white !important;
}

#div-montant{
    font-size: 16px !important;
    font-weight: 700 !important;
    color: black !important;
}

span[onclick]:hover{
    cursor: pointer;
}

/*# sourceMappingURL=custom.css.map */

.collapse:not(.show) {
    display: none !important;
    visibility: visible !important;
}

.collapse.show {
    display: block !important;
    visibility: visible !important;
    height: auto !important; /* Force la hauteur */
}

/* ===========================
   ANIMATIONS DE CHARGEMENT
   =========================== */

/* Spinner de processing DataTables */
.spinner-container {
    text-align: center;
    padding: 40px 20px;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
}

/* Overlay de filtrage */
.filtering-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
}

.filtering-overlay.show {
    display: flex !important;
}

.filtering-spinner {
    background: white;
    padding: 30px 50px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    text-align: center;
}

/* Animation des lignes du tableau */
@keyframes fadeInRow {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-row {
    animation: fadeInRow 0.4s ease-out forwards;
    opacity: 0;
}

/* Loading state du tableau */
.table-loading {
    opacity: 0.5;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* Animation du bouton reset */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.7;
}

.btn-loading i.fa-spinner {
    animation: spin 1s linear infinite;
}

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

/* Animation des badges de statut */
.badge {
    transition: all 0.3s ease;
}

.badge:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Pulse animation pour le processing */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.dataTables_processing {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Smooth transitions pour les filtres Select2 */
.select2-container--default .select2-selection--multiple {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
