/* ------------------------------------------
   1. CONTENEUR PRINCIPAL
   ------------------------------------------ */
.fiche-info-container {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ------------------------------------------
   2. SECTIONS COLLAPSABLES (InfoSection)
   ------------------------------------------ */
.info-section {
    margin-bottom: 1.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    overflow: hidden;
}

.info-section__toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: #ffffff;
    color: #000000;
    border: none;
    text-align: left;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.info-section__toggle:hover {
    background-color: #f8f9fa;
}

.info-section__toggle:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(13, 110, 253, 0.25);
}

.info-section__icon {
    transition: transform 0.2s ease;
}

.info-section__content {
    padding: 1.5rem;
    background-color: #ffffff;
}

/* ------------------------------------------
   3. LIGNES D'INFORMATION (InfoRow)
   ------------------------------------------ */
.info-row {
    margin-bottom: 1rem;
}

.info-row__label {
    font-weight: 600;
    color: #495057;
    padding-top: 0.375rem;
}

.info-row__value {
    margin-bottom: 0;
    padding: 0.375rem 0;
    color: #212529;
}

/* ------------------------------------------
   4. LISTES À PUCES (BulletList)
   ------------------------------------------ */
.bullet-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.bullet-list__item {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.25rem;
}

.bullet-list__item::before {
    content: "-";
    position: absolute;
    left: 0;
    color: #6c757d;
}

/* ------------------------------------------
   5. TABLEAUX
   ------------------------------------------ */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.custom-header {
    background-color: #f8f9fa;
}

.custom-header th {
    font-weight: 600;
    color: #495057;
    white-space: nowrap;
}

.table tbody {
    color: #000000;
}

.table td,
.table th {
    vertical-align: middle;
}

/* ------------------------------------------
   6. BOUTONS
   ------------------------------------------ */
.btn-complement {
    margin-top: 0.5rem;
}

/* ------------------------------------------
   7. UTILITAIRES
   ------------------------------------------ */
.text-noir {
    color: #000000 !important;
}

/* ------------------------------------------
   8. RESPONSIVE
   ------------------------------------------ */
@media (max-width: 768px) {
    .info-section__content {
        padding: 1rem;
    }

    .info-row__label {
        font-size: 0.875rem;
    }

    .table-responsive {
        border: 0;
    }

    .custom-header th {
        font-size: 0.875rem;
    }

    .table td {
        font-size: 0.875rem;
    }
}

@media (max-width: 576px) {
    .fiche-info-container {
        margin-top: 1rem;
        padding: 0 0.5rem;
    }

    .info-section__toggle {
        padding: 0.625rem 0.75rem;
        font-size: 0.9rem;
    }

    .info-section__content {
        padding: 0.75rem;
    }
}