/* Tableau de bord prestataire : styles autonomes (palette Ardoise & Framboise).
   Scopé sous .bm-dash : ne dépend pas du thème (de blocs inactif sur la recette). */

/* .bm-dash : conteneur historique conservé comme repli (le shell est passé en
   cartes sous .bm-cdash). Les classes de panneau .bm-dash-* restent utilisées. */
.bm-dash{max-width:880px;margin:0 auto;font-family:system-ui,sans-serif;color:#1b2433}
.bm-dash *{box-sizing:border-box}

/* Messages flash */
.bm-dash-msg{padding:12px 16px;border-radius:10px;margin:0 0 18px;font-weight:600;font-size:.9rem}
.bm-dash-msg--ok{background:#eaf3ec;border:1px solid #bfe0cb;color:#2e7d52}
.bm-dash-msg--err{background:#fbeaea;border:1px solid #e7b9b9;color:#a23c3c}

/* Barre d'action + stats */
.bm-dash-bar{margin:0 0 20px}
.bm-dash-stats{display:flex;gap:14px;flex-wrap:wrap;margin:0 0 26px}
.bm-dash-stat{flex:1;min-width:130px;background:#f7f5ef;border:1px solid #eee5d6;border-radius:12px;padding:14px 16px}
.bm-dash-stat__n{display:block;font-size:1.7rem;font-weight:800;color:#27395c;line-height:1}
.bm-dash-stat__l{display:block;margin-top:4px;font-size:.8rem;color:#8b94a0;font-weight:600}

/* Liste de fiches (cartes) */
.bm-dash-list{display:flex;flex-direction:column;gap:12px}
.bm-dash-card{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#fff;border:1px solid #e0d6c6;border-radius:14px;padding:16px 18px}
.bm-dash-card__main{flex:1;min-width:180px}
.bm-dash-card__title{margin:0;font-size:1rem;font-weight:700;color:#27395c}
.bm-dash-card__meta{margin:3px 0 0;font-size:.84rem;color:#5a6473}
.bm-dash-muted{color:#a9926a;font-style:italic}
.bm-dash-card__validity{margin:4px 0 0;font-size:.78rem;font-weight:600;color:#2e7d52}
.bm-dash-card__validity.is-expired{color:#b07315}
.bm-dash-card__stats{margin:4px 0 0;font-size:.78rem;font-weight:600;color:#3f5b8c}
.bm-dash-card__actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}

/* Badges de statut */
.bm-dash-status{display:inline-block;padding:4px 11px;border-radius:99px;font-size:.76rem;font-weight:700;white-space:nowrap}
.bm-dash-status--pub{background:#eaf3ec;color:#2e7d52}
.bm-dash-status--pen{background:#fef3e2;color:#b07315}
.bm-dash-status--dft{background:#eef1f6;color:#5a6c8c}

/* Boutons */
/* !important sur fond + couleur de texte : l'ancien thème colore les liens <a>
   (texte bleu sur fond bleu pour « Modifier ») et passe le texte en blanc au
   survol. On verrouille chaque variante. */
.bm-dash-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 18px;border-radius:11px;font-size:.86rem;font-weight:700;cursor:pointer;text-decoration:none!important;border:1.5px solid transparent;min-height:40px;line-height:1.1;transition:filter .15s,background .15s,color .15s}
.bm-dash-btn--primary,.bm-dash-btn--primary:hover,.bm-dash-btn--primary:focus{background:#c4527a!important;color:#fff!important;border-color:#c4527a!important}
.bm-dash-btn--primary:hover{filter:brightness(.93)}
.bm-dash-btn--secondary,.bm-dash-btn--secondary:hover,.bm-dash-btn--secondary:focus{background:#3f5b8c!important;color:#fff!important;border-color:#3f5b8c!important}
.bm-dash-btn--secondary:hover{filter:brightness(.93)}
.bm-dash-btn--ghost,.bm-dash-btn--ghost:focus{background:#fff!important;color:#3f5b8c!important;border-color:#3f5b8c!important}
.bm-dash-btn--ghost:hover{background:#f1eef9!important;color:#3f5b8c!important;border-color:#3f5b8c!important}
.bm-dash-btn--danger,.bm-dash-btn--danger:focus{background:#fff!important;color:#a23c3c!important;border-color:#e7b9b9!important}
.bm-dash-btn--danger:hover{background:#fbeaea!important;color:#a23c3c!important;border-color:#e7b9b9!important}

/* État vide */
.bm-dash-empty{text-align:center;background:#f7f5ef;border:1px solid #eee5d6;border-radius:16px;padding:40px 24px}
.bm-dash-empty h2{margin:0 0 8px;font-size:1.2rem;color:#27395c}
.bm-dash-empty p{margin:0 0 18px;color:#5a6473;font-size:.92rem}

/* Validation e-mail */
.bm-dash-validation{padding:13px 16px;border-radius:11px;margin:0 0 22px;font-size:.88rem}
.bm-dash-validation--ok{background:#eaf3ec;border:1px solid #bfe0cb;color:#2e7d52}
.bm-dash-validation--pending{background:#fef3e2;border:1px solid #f0d9b0;color:#8a5a12}
.bm-dash-inline-form{margin-top:10px}

/* Formulaire profil */
.bm-dash-form{max-width:640px}
.bm-dash-form label{display:block;margin:0 0 14px;font-size:.88rem;font-weight:600;color:#1b2433}
.bm-dash-form input{display:block;width:100%;margin-top:5px;padding:10px 12px;border:1px solid #e0d6c6;border-radius:9px;font:inherit;font-weight:400;background:#fff;min-height:44px}
.bm-dash-form input:focus{outline:2px solid #3f5b8c;outline-offset:1px;border-color:#3f5b8c}
.bm-dash-row{display:flex;gap:14px;flex-wrap:wrap}
.bm-dash-row>label{flex:1;min-width:200px}
.bm-dash-sep{border:0;border-top:1px solid #eee5d6;margin:18px 0}
.bm-dash-hint{color:#8b94a0;font-size:.82rem;margin:0 0 12px}

/* Zone RGPD (danger) */
.bm-dash-danger{margin-top:36px;border:1px solid #e7b9b9;border-radius:14px;padding:20px 22px;background:#fdf6f6;max-width:640px}
.bm-dash-danger h3{margin:0 0 8px;font-size:1rem;color:#a23c3c}
.bm-dash-danger p{margin:0 0 14px;font-size:.86rem;color:#5a6473}
.bm-dash-check{display:flex;gap:9px;align-items:flex-start;font-size:.86rem;font-weight:500;margin:0 0 14px}
.bm-dash-check input{width:auto;min-height:auto;margin-top:3px}

.bm-dash-note{background:#f7f5ef;border:1px solid #eee5d6;padding:16px;border-radius:12px;font-family:system-ui,sans-serif}

@media(max-width:600px){
	.bm-dash__tabs{gap:6px 16px}
	.bm-dash__tab{font-size:20px}
	.bm-dash-card__actions{width:100%}
}

/* ==========================================================================
   Dashboard prestataire en cartes : éléments propres au pro (le reste des
   classes de mise en page .bm-cdash/.bm-card vient de bm-couple.css, enqueué).
   ========================================================================== */
/* Grille pro 1.5fr/1fr (specificite renforcee pour passer apres bm-couple.css) */
.bm-cdash .bm-cdash__grid--pro{grid-template-columns:1.5fr 1fr}
@media(max-width:880px){ .bm-cdash .bm-cdash__grid--pro{grid-template-columns:1fr} }

/* Bandeau « Premium offert » (fond ardoise foncé) */
.bm-premium{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:linear-gradient(120deg,#27395c,#1b2433);border-radius:16px;padding:16px 18px;color:#fff}
.bm-premium__spark{flex:none;width:30px;height:30px;border-radius:9px;background:#c4527a;display:inline-flex;align-items:center;justify-content:center}
.bm-premium__txt{flex:1;min-width:220px}
.bm-premium__title{font-family:'Bricolage Grotesque',ui-sans-serif,system-ui,sans-serif;font-weight:700;font-size:.98rem;color:#fff!important;margin:0}
.bm-premium__sub{font-size:.8rem;line-height:1.45;color:#c9d3e6!important;margin:3px 0 0}

/* Bannière « créez votre fiche » (prestataire sans fiche) */
.bm-cdash__newfiche{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:#fbeef4;border:1px solid #c4527a;border-left:4px solid #c4527a;border-radius:14px;padding:15px 18px;margin:4px 0 20px}
.bm-cdash__newfiche-spark{flex:none;width:30px;height:30px;border-radius:9px;background:#c4527a;display:inline-flex;align-items:center;justify-content:center}
.bm-cdash__newfiche-txt{flex:1;min-width:220px;font-size:.9rem;line-height:1.5;color:#27395c}
.bm-cdash__newfiche-txt strong{color:#27395c}

/* Carte « Ma formule » */
.bm-formule__badge{display:inline-block;margin-left:6px;padding:3px 9px;border-radius:99px;background:#f9e8ef;color:#a23c61!important;font-size:.66rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;vertical-align:middle}
.bm-formule__ok{color:#2e7d52}
