/* Profile page styles - modern, accessible and responsive */
:root {
    /* Utiliser les variables globales définies dans style.css pour uniformiser les beiges */
    --profile-bg: linear-gradient(135deg, var(--beige-light, #fbfbf9) 0%, var(--background-color, #f1efe8) 100%);
    --card-bg: #ffffff;
    --accent: var(--green, #4e7c5a);
    --muted: #6b6b6b;
    --radius-lg: 16px;
    --radius: 10px;
}

.profile-container {
    max-width: 980px;
    margin: 28px auto;
    padding: 20px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.profile-container h1 {
    font-family: var(--font-title, 'Alumni Sans', 'Segoe UI');
    color: var(--accent);
    text-align: left;
    font-size: 2rem;
    margin: 8px 0 20px 4px;
    letter-spacing: 0.02em;
}

.profile-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(28, 28, 28, 0.08);
    padding: 20px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: start;
    border: 1px solid rgba(78, 124, 90, 0.08);
}

.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(78, 124, 90, 0.06), rgba(78, 124, 90, 0.14));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    color: var(--accent);
    border: 6px solid rgba(78, 124, 90, 0.08);
    box-shadow: 0 8px 24px rgba(78, 124, 90, 0.08);
}

.profile-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e2a20;
    text-align: center;
}

.profile-role {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(78, 124, 90, 0.12);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.92rem;
    text-transform: capitalize;
}

.profile-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.info-group {
    background: linear-gradient(180deg, #fff, #fbfbfb);
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.info-label {
    display: block;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 6px;
    font-weight: 700;
}

.info-value {
    font-size: 1rem;
    color: #222;
    font-weight: 600;
}

.profile-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* Buttons used on profile page: keep consistent with app design */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 2px solid rgba(78, 124, 90, 0.14);
    background: #fff;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 180ms ease;
}

.btn:hover,
.btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(78, 124, 90, 0.08);
}

.btn-primary {
    background: linear-gradient(180deg, var(--accent), #3c6b47);
    color: #fff;
    border-color: rgba(0, 0, 0, 0.06);
}

.btn-secondary {
    background: #fff;
    color: var(--accent);
    border-color: rgba(78, 124, 90, 0.14);
}

.btn-danger {
    background: linear-gradient(180deg, #e53935, #b71c1c);
    color: #fff;
    border-color: rgba(0, 0, 0, 0.06);
}

/* Ensure form + anchor buttons in .profile-actions are aligned and same height */
.profile-actions form {
    margin: 0;
    /* override any inline margins */
    display: inline-flex;
    /* sit inline with anchors */
}

.profile-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    /* uniform height */
    line-height: 1;
    -webkit-appearance: none;
    /* reset native button appearance */
    appearance: none;
}

.profile-actions .btn i {
    /* ensure icons align vertically */
    display: inline-block;
    line-height: 1;
}

/* Stronger, more specific selectors to override global link/button rules */
.profile-card .profile-actions a.btn,
.profile-card .profile-actions button.btn {
    text-decoration: none !important;
    color: inherit;
    background-clip: padding-box;
}

/* Make all buttons visually consistent widths when desired (optional) */
.profile-actions .btn.equal-width {
    min-width: 220px;
}

/* Hover/focus for profile action buttons: only a small upward movement, no shadow */
.profile-card .profile-actions a.btn:hover,
.profile-card .profile-actions button.btn:hover,
.profile-card .profile-actions a.btn:focus,
.profile-card .profile-actions button.btn:focus {
    transform: translateY(-4px) !important;
    box-shadow: none !important;
    /* keep no shadow */
    outline: none !important;
    text-decoration: none !important;
}

/* === Uniformiser le style des 3 boutons sur la page Profil ===
   Les boutons "Edit", "Change password" et "Delete" utilisent
   des classes différentes (btn-primary / btn-secondary / btn-danger)
   mais doivent apparaître identiques. On force un style commun
   uniquement pour les boutons présents dans .profile-card .profile-actions.
*/
.profile-card .profile-actions .btn.btn-primary {
    /* Bouton Modifier : vert (accent) */
    background: linear-gradient(180deg, var(--accent), #3c6b47) !important;
    color: #fff !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

.profile-card .profile-actions .btn.btn-secondary {
    /* Bouton Changer (ex: changer mot de passe) : fond blanc, texte accent */
    background: #fff !important;
    color: var(--accent) !important;
    border-color: rgba(78, 124, 90, 0.14) !important;
}

.profile-card .profile-actions .btn.btn-danger {
    /* Bouton Supprimer : rouge pour signaler l'action destructive */
    background: linear-gradient(180deg, #e53935, #b71c1c) !important;
    color: #fff !important;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

/* Hover / focus cohérents mais respectant les couleurs */
.profile-card .profile-actions .btn.btn-primary:hover,
.profile-card .profile-actions .btn.btn-primary:focus,
.profile-card .profile-actions .btn.btn-danger:hover,
.profile-card .profile-actions .btn.btn-danger:focus {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06) !important;
    outline: none !important;
}

.profile-card .profile-actions .btn.btn-secondary:hover,
.profile-card .profile-actions .btn.btn-secondary:focus {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(78,124,90,0.06) !important;
    outline: none !important;
}

/* Alerts */
.alert {
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-weight: 600;
}

.alert-success {
    background: rgba(56, 142, 60, 0.08);
    color: #2d5b32;
    border: 1px solid rgba(56, 142, 60, 0.12);
}

.alert-error {
    background: rgba(185, 28, 28, 0.06);
    color: #7a1b1b;
    border: 1px solid rgba(185, 28, 28, 0.12);
}

/* Role specific color variants */

/* COULEUR ROLE UTILISATEUR */

.role-user {
    color: #25eb39;
    /* Vert vif pour les utilisateurs */
    display: flex;
    justify-content: center;
    font-weight: 700;
    background-color: #adffb5;
    padding: 5px;
    border-radius: 10px;
}

.role-admin {
    color: #dc2626;
    /* Rouge vif pour les administrateurs */
    display: flex;
    justify-content: center;
    font-weight: 700;
    background-color: #ff8b8b;
    padding: 5px;
    border-radius: 10px;
}

/* High-specificity rules for profile cards inside the admin user detail view.
   These ensure the badge colors apply even if other styles are more generic or loaded later. */
.profile-container-admin-user .profile-card-admin-user .profile-role.role-user,
.profile-container-admin-user.admin-user .profile-card-admin-user .profile-role.role-user {
    /* reuse friendly green for users */
    color: #1a8f2a !important;
    background-color: #dffbe6 !important;
    display: inline-flex !important;
    justify-content: center !important;
    font-weight: 700 !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
}

.profile-container-admin-user .profile-card-admin-user .profile-role.role-admin,
.profile-container-admin-user.admin-user .profile-card-admin-user .profile-role.role-admin {
    /* reuse red for admins */
    color: #b91c1c !important;
    background-color: #ffd6d6 !important;
    display: inline-flex !important;
    justify-content: center !important;
    font-weight: 700 !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
}

/* Badges for user status (active / inactive) inside admin user details */
.profile-container-admin-user .user-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 2rem;
    text-transform: capitalize;
    border: 1px solid transparent;
}

.profile-container-admin-user .user-status-badge.status-active {
    background-color: #e6ffef !important;
    color: #0f7a3a !important;
    border-color: rgba(15, 122, 58, 0.12) !important;
}

.profile-container-admin-user .user-status-badge.status-inactive {
    background-color: #fff0f0 !important;
    color: #9b1c1c !important;
    border-color: rgba(155, 28, 28, 0.12) !important;
}

.profile-container-admin-user .user-status-badge.status-unknown {
    background-color: #f5f5f5 !important;
    color: #6b6b6b !important;
}


/* Responsive */
@media (max-width: 880px) {
    .profile-card {
        grid-template-columns: 1fr;
    }

    .profile-header {
        flex-direction: row;
        gap: 16px;
        align-items: center;
    }

    .profile-name {
        text-align: left;
    }

    .profile-avatar {
        width: 96px;
        height: 96px;
        font-size: 2.2rem;
    }

    .profile-container {
        padding: 12px;
    }
}

@media (max-width: 420px) {
    .profile-info {
        grid-template-columns: 1fr;
    }

    .btn {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
}

/* Small polish for links in card */
.profile-card a {
    text-decoration: none;
}

/* Styles pour les vues de modification de profil et de changement de mot de passe */
.edit-profile-container,
.change-password-container,
.edit-user-container {
    max-width: 820px;
    margin: 28px auto;
    padding: 18px;
    /* Utiliser le même beige que le reste du site pour cohérence */
    background: var(--profile-bg);
    position: relative;
    /* pour permettre un bouton retour positionné absolument en haut à gauche */
    padding-top: 80px;
    /* espace pour le bouton en position absolue (ajusté pour gros bouton) */
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 12px;
}

.back-link i {
    font-size: 0.98rem;
}

/* Positionner le bouton retour en haut à gauche dans les conteneurs qui utilisent .admin-nav */
/* Position absolute uniquement pour les formulaires de profil/édition utilisateur
   afin de ne pas casser la position du bouton retour sur d'autres pages (ex: admin/edit) */
.edit-profile-container .admin-nav,
.change-password-container .admin-nav,
.edit-user-container .admin-nav {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 80;
    text-align: left;
}

/* Déplacement spécifique plus haut et plus à gauche pour edit_user */
.edit-user-container .admin-nav {
    top: -8px;
    /* remonter le bouton */
    left: -8px;
    /* déplacer vers la gauche */
}

.admin-nav .btn-back {
    /* Utiliser le même style que .btn-back défini dans media.css (modification des médias) */
    display: inline-block;
    padding: 1rem;
    background-color: transparent;
    color: #666;
    text-decoration: none;
    border-radius: 4px;
    font-size: 2.5rem;
    font-weight: bold;
    transition: color 0.3s ease;
    border: 1px solid transparent;
}

.admin-nav .btn-back:hover {
    color: #333;
    background-color: rgba(0, 0, 0, 0.06);
}

.edit-profile-container h1,
.change-password-container h1 {
    font-size: 1.8rem;
    margin: 6px 0 18px 0;
    color: #203425;
}

.edit-profile-form,
.change-password-form,
.edit-user-form {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: 0 10px 30px rgba(28, 28, 28, 0.06);
    border: 1px solid rgba(78, 124, 90, 0.12);
    /* contour plus visible */
}

.form-header h2 {
    margin: 0 0 6px 0;
    color: var(--accent);
    font-size: 1.05rem;
}

.form-header p {
    margin: 0 0 14px 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: #38563f;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(34, 34, 34, 0.08);
    background: linear-gradient(180deg, #fff, #fbfbfb);
    font-size: 0.98rem;
    color: #111;
    outline: none;
    transition: box-shadow 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.form-group input:focus {
    border-color: rgba(78, 124, 90, 0.28);
    box-shadow: 0 6px 18px rgba(78, 124, 90, 0.06);
    transform: translateY(-1px);
}

.required {
    color: #b71c1c;
    margin-left: 6px;
    font-weight: 900;
}

.form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
}

.password-requirements {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(78, 124, 90, 0.04);
    color: #2f4f3a;
    font-size: 0.92rem;
}

.password-requirements ul {
    margin: 6px 0 0 18px;
}

/* Make forms responsive and keep consistency with site style */
@media (max-width: 720px) {

    .edit-profile-container,
    .change-password-container {
        padding: 12px;
    }

    .edit-profile-form,
    .change-password-form {
        padding: 14px;
    }

    .form-header h2 {
        font-size: 1rem;
    }
}

/* Boutons identiques à la page détails média (copie légère de details.css) */
.media-details__btn {
    padding: 0.75rem 1.75rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s ease;
}

.media-details__btn--primary {
    background: #007bff;
    color: #fff;
}

.media-details__btn--primary:hover {
    background: #0056b3;
}

.media-details__btn--secondary {
    background: #6c757d;
    color: #fff;
}

.media-details__btn--secondary:hover {
    background: #545b62;
}

/* ---------- Statistiques utilisateur (admin) - graphique décoratif ---------- */
/* Ciblage sans modifier la vue : on scope sous .profile-container-admin-user */
.profile-container-admin-user section h2 {
    margin-bottom: 12px;
    color: var(--accent);
}

.profile-container-admin-user section>div>div {
    display: flex;
    gap: 14px;
    align-items: stretch;
    flex-wrap: wrap;
}

.profile-container-admin-user section>div>div>div {
    flex: 1 1 220px;
    min-width: 160px;
    background: linear-gradient(180deg, #ffffff, #fbfbfb);
    border-radius: 12px;
    padding: 14px 16px;
    box-shadow: 0 8px 20px rgba(16, 24, 16, 0.04);
    border: 1px solid rgba(78, 124, 90, 0.06);
    text-align: center;
    position: relative;
}

.profile-container-admin-user section>div>div>div strong {
    display: block;
    font-size: 0.95rem;
    color: var(--muted);
    margin-bottom: 8px;
    font-weight: 800;
}

.profile-container-admin-user section>div>div>div p {
    margin: 0;
    font-size: 1.9rem;
    color: var(--accent);
    font-weight: 900;
}

/* barre décorative sous chaque valeur (effet graphique) */
.profile-container-admin-user section>div>div>div::after {
    content: "";
    display: block;
    height: 8px;
    width: 70%;
    background: linear-gradient(90deg, rgba(78, 124, 90, 0.95), rgba(194, 166, 140, 0.85));
    border-radius: 999px;
    margin: 12px auto 0;
    opacity: 0.18;
}

/* variante pour le statut : afficher le label petit et la valeur grande
   sans modifier le HTML (markup : <p><strong>Statut :</strong> valeur)</n+   on transforme visuellement le <p> en deux lignes : label + valeur */
.profile-container-admin-user section>div>div>div:nth-child(3) p {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 1.9rem;
    /* valeur en grand */
    font-weight: 900;
    color: var(--accent);
}

.profile-container-admin-user section>div>div>div:nth-child(3) p strong {
    display: block;
    font-size: 0.95rem;
    /* label en petit */
    color: var(--muted);
    font-weight: 800;
}

@media (max-width: 720px) {
    .profile-container-admin-user section>div>div {
        flex-direction: column;
    }

    .profile-container-admin-user section>div>div>div {
        width: 100%;
    }
}

/* fin statistiques */

/* --- Espacement : séparer la section Statistiques du bloc Réservations --- */
/* Ciblage du premier <section> dans .profile-container-admin-user (statistiques) */
.profile-container-admin-user>section:first-of-type {
    margin-bottom: 36px;
    /* ajuster selon le rendu : 24-48px sont des valeurs courantes */
}

/* Optionnel : espacement au-dessus des sections dashboard suivantes */
.profile-container-admin-user .dashboard-section {
    margin-top: 8px;
}


/* 
PROFIL ADMIN USERS DETAILS -- Styles spécifiques pour la vue des détails utilisateur dans l'admin */



/* ADMIN GESTION UTILISATEURS DETAILS */
.profile-container-admin-user {
    max-width: 980px;
    margin: 28px auto;
    padding: 20px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.profile-container-admin-user h1 {
    font-family: var(--font-title, 'Alumni Sans', 'Segoe UI');
    color: var(--accent);
    text-align: left;
    font-size: 2rem;
    margin: 8px 0 20px 4px;
    letter-spacing: 0.02em;
}

.profile-card-admin-user {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 30px rgba(28, 28, 28, 0.08);
    padding: 20px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: start;
    border: 1px solid rgba(78, 124, 90, 0.08);
}


.profile-card-admin-user-profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.profile-card-admin-user-profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(78, 124, 90, 0.06), rgba(78, 124, 90, 0.14));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.2rem;
    color: var(--accent);
    border: 6px solid rgba(78, 124, 90, 0.08);
    box-shadow: 0 8px 24px rgba(78, 124, 90, 0.08);
}

.profile-card-admin-user-profile-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e2a20;
    text-align: center;
}

.profile-card-admin-user-profile-role {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(78, 124, 90, 0.12);
    color: var(--accent);
    font-weight: 600;
    font-size: 0.92rem;
    text-transform: capitalize;
}

.profile-card-admin-user-profile-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
}

.profile-card-admin-user-info-group {
    background: linear-gradient(180deg, #fff, #fbfbfb);
    padding: 12px 14px;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.profile-card-admin-user-info-label {
    display: block;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 6px;
    font-weight: 700;
}

.profile-card-admin-user-info-value {
    font-size: 1rem;
    color: #222;
    font-weight: 600;
}

.profile-card-admin-user-profile-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: flex-start;
    margin-top: 10px;
    flex-wrap: wrap;
}

.profile-card-admin-user-profile-actions-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 2px solid rgba(78, 124, 90, 0.14);
    background: #fff;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 180ms ease;
}

/* Make hover/focus of admin profile action buttons match the profile default hover */
.profile-card-admin-user-profile-actions .btn:hover,
.profile-card-admin-user-profile-actions .btn:focus {
    transform: translateY(-4px) !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
}

.profile-card-admin-user-admin-user-profile-actions form {
    margin: 0;
    display: inline-flex;
}

.profile-card-admin-user-admin-user-profile-actions .btn {
    height: 44px;
    line-height: 1;
}

.profile-card-admin-user-admin-user-profile-actions .btn i {
    display: inline-block;
    line-height: 1;
}

.profile-card-admin-user-admin-user a {
    text-decoration: none;
}


/*  */

/* Dashboard Styles */
.dashboard-main-2 {
    padding: 2rem 0;
    background: var(--background-color);

}

.dashboard-title-2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.dashboard-section-2 {
    margin-bottom: 2.5rem;
    background: var(--white);
    border-radius: 0.75rem;
    box-shadow: var(--shadow);
    padding: 2rem;
}

.dashboard-section-title-2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: left;
}

.dashboard-table-2 {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    background: var(--background-color);
}

.dashboard-table-2 th,
.dashboard-table-2 td {
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    text-align: left;
}

.dashboard-table-2 th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.dashboard-table-2 tr:nth-child(even) {
    background: #f8fafc;
}

.dashboard-flex-2 {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.dashboard-chart-container-2 {
    margin-bottom: 1rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    padding: 1rem;
}

.dashboard-donut-2 {
    min-width: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-media-table-container-2 {
    flex: 1;
}

.dashboard-kpi-table td small-2 {
    color: var(--text-color);
    font-size: 0.95em;
}

/* Harmoniser l'apparence des sections de tableau (comme Réservations / Emprunts) */
.borrowings-section {
    margin-bottom: 1rem;
    background: #f8fafc;
    /* même fond que .dashboard-chart-container-2 */
    border-radius: 0.5rem;
    padding: 1rem;
}

.borrowings-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.borrowings-table th,
.borrowings-table td {
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    text-align: left;
}

.borrowings-table thead th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

/* Alternance beige / blanc pour les lignes du tableau (comme réservations passées) */
.borrowings-table tbody tr:nth-child(odd) {
    background: var(--white);
}

.borrowings-table tbody tr:nth-child(even) {
    background: var(--beige-light);
}

.space-bottom-2 {
    margin-top: 1.8rem;
}

.color-statut-2 {
    color: black
}