/* =========================
   MODALE PROFIL CLIENT
   ========================= */

/* Bloque le scroll */
body.vlm-modal-open {
    overflow: hidden;
}

/* Conteneur */
#vlm-profile-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

/* Fond sombre */
#vlm-profile-modal .vlm-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
}

/* Dialog */
#vlm-profile-modal .vlm-modal-dialog {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 5vh auto;
}

/* Contenu */
#vlm-profile-modal .vlm-modal-content {
    background: #fff url('../images/bg_traits.svg') no-repeat center center;
    background-size: cover;
    border-radius: 10px;
    overflow: hidden;
}

/* Header */
#vlm-profile-modal .vlm-modal-header {
    border: none;
    padding: 2rem 2rem 1rem;
    text-align: center;
}

#vlm-profile-modal .vlm-modal-title {
    font-size: 33px;
    margin: 0;
}

/* Body */
#vlm-profile-modal .vlm-modal-body {
    padding: 1.5rem 2rem;
}

#vlm-profile-modal .vlm-modal-intro {
    text-align: center;
    font-style: italic;
    margin-bottom: 2rem;
}

/* Grille */
#vlm-profile-modal .vlm-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-items: center;
}

/* Carte profil */
#vlm-profile-modal .vlm-profile-card {
    position: relative;
    cursor: pointer;
    border: none;
    width: 190px;
    background: transparent;
}

/* Cercle décoratif */
#vlm-profile-modal .vlm-profile-card::before {
    content: "";
    position: absolute;
    right: -10px;
    top: 0;
    width: 200px;
    height: 200px;
    background: #372627;
    border-radius: 50%;
    z-index: 0;
}

/* Contenu */
#vlm-profile-modal .vlm-profile-card-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Image */
#vlm-profile-modal .vlm-profile-card img {
    display: block;
    width: 190px;
    margin: 10px auto 0;
    position: relative;
}

/* Titre */
#vlm-profile-modal .vlm-profile-card h3 {
    background: #f6f6f6;
    margin: -20px 0 0;
    padding: 10px;
    font-size: 18px;
    position: relative;
}

/* Texte */
#vlm-profile-modal .vlm-profile-description {
    font-size: 12px;
    line-height: 15px;
    padding: 10px 0;
}

/* Footer */
#vlm-profile-modal .vlm-modal-footer {
    padding: 1rem;
    text-align: center;
    font-size: .85rem;
    color: #666;
}

/* Loading */
#vlm-profile-modal.vlm-loading {
    pointer-events: none;
    opacity: .6;
}
