/* ============================================================
   Espace membre — Librairie Libertatem
   Complète style-livres.css, ne le remplace pas : reprend les
   mêmes variables/typos si définies globalement, sinon les valeurs
   ci-dessous servent de repli cohérent avec la charte (tons crème/
   terracotta observés sur les pages existantes).
   ============================================================ */

.container-etroit {
    max-width: 640px;
    margin: 0 auto;
}

.fil-ariane-membre {
    font-size: 13px;
    color: #8a8474;
    margin: 24px 0 20px;
}
.fil-ariane-membre a {
    color: #8a8474;
    text-decoration: underline;
}
.fil-ariane-membre a:hover {
    color: #b06a4a;
}

/* ── En-tête profil ─────────────────────────────────────── */
.entete-membre {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}
.avatar-membre {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #b06a4a;
    color: #fff;
    display: grid;
    place-items: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    flex-shrink: 0;
}
.entete-membre h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    margin: 0 0 2px;
}
.sous-titre-membre {
    font-size: 13px;
    color: #8a8474;
    margin: 0;
}

/* ── Alerte info ─────────────────────────────────────────── */
.alerte-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fbf1e4;
    border: 1px solid #e8c99a;
    color: #7a5a24;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 24px;
}
.alerte-info i {
    margin-top: 2px;
    flex-shrink: 0;
}

/* ── Grille de cartes ────────────────────────────────────── */
.grille-cartes-membre {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
@media (max-width: 640px) {
    .grille-cartes-membre { grid-template-columns: 1fr; }
}

.carte-membre {
    background: #fff;
    border: 1px solid #eee6d8;
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 16px;
}
.carte-membre h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: #3a3527;
}
.carte-membre h3 i {
    color: #b06a4a;
    font-size: 15px;
}

.liste-infos {
    margin: 0;
}
.liste-infos dt {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #a29c8c;
    margin-top: 12px;
}
.liste-infos dt:first-child { margin-top: 0; }
.liste-infos dd {
    margin: 2px 0 0;
    font-size: 14.5px;
    font-weight: 500;
}
.note-carte {
    font-size: 12px;
    color: #a29c8c;
    margin: 16px 0 0;
}

/* ── Liens rapides ───────────────────────────────────────── */
.liens-rapides {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lien-rapide {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #3a3527;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.15s ease;
}
.lien-rapide:hover {
    background: #f7f2e9;
}
.lien-rapide i:first-child {
    color: #b06a4a;
    width: 18px;
}
.fleche-lien {
    margin-left: auto;
    font-size: 11px;
    color: #c9c2b0;
}

/* ── Champ mot de passe avec œil ─────────────────────────── */
.champ-mot-de-passe { margin-bottom: 16px; }
.champ-mot-de-passe label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #3a3527;
}
.champ-mdp-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.champ-mdp-wrapper input {
    width: 100%;
    padding: 10px 42px 10px 12px;
    border: 1px solid #ddd4c0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}
.champ-mdp-wrapper input:focus {
    outline: none;
    border-color: #b06a4a;
    box-shadow: 0 0 0 3px rgba(176,106,74,0.12);
}
.btn-oeil {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: #a29c8c;
    cursor: pointer;
    padding: 4px 6px;
    font-size: 15px;
    display: flex;
    align-items: center;
}
.btn-oeil:hover { color: #b06a4a; }
.btn-oeil.actif { color: #b06a4a; }

/* ── Déconnexion ─────────────────────────────────────────── */
.zone-deconnexion {
    text-align: center;
    margin: 24px 0 40px;
}

/* ── Statuts de formulaire ───────────────────────────────── */
.statut-recherche.statut-erreur {
    color: #a8432f;
    margin-top: 10px;
}
.statut-recherche.statut-succes {
    color: #4a7c3f;
    margin-top: 10px;
}
.statut-recherche.statut-info {
    color: #8a8474;
    margin-top: 10px;
}

/* ── Page Mes emprunts ───────────────────────────────────── */
.carte-emprunt { padding: 16px 18px; }
.ligne-emprunt {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.miniature-emprunt {
    width: 52px;
    height: 76px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f0efe9;
}
.miniature-emprunt img { width: 100%; height: 100%; object-fit: cover; }
.miniature-emprunt-vide {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    color: #a29c8c;
}
.details-emprunt h4 { margin: 0 0 2px; font-size: 15px; }
.details-emprunt h4 a { color: #3a3527; text-decoration: none; }
.details-emprunt h4 a:hover { color: #b06a4a; }
.auteur-emprunt { font-size: 12.5px; color: #8a8474; margin: 0 0 8px; }

.statut-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}
.statut-badge-attente { background: #fbf1e4; color: #7a5a24; }
.statut-badge-cours { background: #eaf0e5; color: #4a7c3f; }
.statut-badge-urgent { background: #fbe6e1; color: #a8432f; }
.statut-badge-termine { background: #f0efe9; color: #8a8474; }

.modalites-emprunt {
    font-size: 12.5px;
    color: #6b6659;
    margin: 8px 0 0;
    background: #f7f2e9;
    padding: 8px 10px;
    border-radius: 6px;
}