/* Patch V1 – UX Profil & Symptômes (sans casser le style existant) */

/* Bouton Profil (header) : plus visible et cohérent avec le thème */
#profileBtn{
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 8px 22px rgba(0,0,0,.12);
}
#profileBtn:hover{ filter: brightness(0.98); }
#profileBtn:active{ transform: translateY(1px); }
#profileBtn span{ color: inherit; }

/* Boutons Enregistrer : états (dirty / saving / saved) */
.btn-save{
  transition: background .15s ease-out, box-shadow .15s ease-out, transform .05s ease-out, opacity .15s ease-out;
}
.btn-save:active{ transform: translateY(1px); }

.btn-save.is-dirty{
  background:#f59e0b;
  color:#fff;
  box-shadow:0 6px 16px #f59e0b55;
}

.btn-save.is-saving{
  background:#64748b;
  color:#fff;
  box-shadow:none;
  opacity:.95;
}

.btn-save.is-saved{
  background:#22c55e;
  color:#fff;
  box-shadow:0 6px 16px #22c55e55;
}

/* Petite indication "mode édition" dans le profil */
.profile-edit-hint{
  margin: 8px 0 10px;
  padding: 8px 10px;
  border-radius: 14px;
  background: #fff6e9;
  border: 1px solid #fde3b8;
  color: var(--text-soft);
  font-size: 12px;
}

.profile-edit-hint strong{ color: var(--text-main); }

/* "Mot de passe oublié" */
.forgot-panel{
  margin-top:10px;
  padding:10px;
  border-radius:14px;
  background:#fff6fb;
  border:1px solid #f7d5e4;
}
.forgot-panel .content-text{ font-size:12px; margin:0; }
.forgot-panel .forgot-actions{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }

.btn-danger{
  background:#ef4444;
  color:#fff;
  box-shadow:0 6px 16px #ef444455;
}

/* Symptômes : raccourcis + résumé */
.sym-ux-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin: 8px 0 10px;
}
.sym-summary{
  margin-top: 6px;
  font-size: 12px;
  color: var(--text-soft);
  opacity: .95;
}
.sym-summary strong{ color: var(--text-main); }


/* Modal – Réinitialisation du mot de passe (confirmation) */
.mbf-reset-overlay{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 20, 0.55);
  z-index: 99999;
  padding: 18px;
}
.mbf-reset-overlay.is-open{ display:flex; }

.mbf-reset-modal{
  width: min(520px, 100%);
  background: linear-gradient(180deg, rgba(255, 240, 248, 0.98), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(180, 120, 160, 0.35);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  color: #1f1f2a;
  border-radius: 0; /* pas d’arrondi */
  overflow: hidden;
}

.mbf-reset-head{
  display:flex;
  gap:12px;
  align-items:center;
  padding: 16px 16px 12px 16px;
  border-bottom: 1px solid rgba(180, 120, 160, 0.22);
  background: rgba(255, 220, 238, 0.35);
}

.mbf-reset-icon{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(180, 120, 160, 0.35);
  background: rgba(255, 255, 255, 0.7);
  color: #7a2f5e;
  border-radius: 0; /* pas d’arrondi */
}

.mbf-reset-title{
  font-weight: 700;
  letter-spacing: 0.2px;
  font-size: 16px;
  line-height: 1.2;
}

.mbf-reset-subtitle{
  margin-top: 2px;
  font-size: 12.5px;
  opacity: 0.85;
}

.mbf-reset-body{ padding: 14px 16px 4px 16px; }

.mbf-reset-text{
  margin: 0 0 10px 0;
  font-size: 14px;
  line-height: 1.45;
}

.mbf-reset-hint{
  margin: 0 0 12px 0;
  font-size: 12.5px;
  opacity: 0.8;
}

.mbf-reset-actions{
  display:flex;
  justify-content:flex-end;
  padding: 12px 16px 16px 16px;
  gap:10px;
}

.mbf-reset-btn{
  border: 1px solid rgba(122, 47, 94, 0.35);
  background: rgba(255, 230, 246, 0.9);
  color: #5a2143;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0; /* pas d’arrondi */
}

.mbf-reset-btn:hover{ filter: brightness(0.98); }

/* Modale – Réinitialisation (saisie e-mail) : boutons */
.mbf-reset-actions.mbf-forgot-actions{
  justify-content: space-between;
  flex-wrap: wrap;
}
.mbf-reset-btn.primary{
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.mbf-reset-btn.primary:hover{ filter: brightness(0.98); }
