/* MonBesoin.fr V5 — finalisation du portail et des parcours comptes / professionnels */
.nav-login{white-space:nowrap}.mbv5-nav-signup{margin-right:3px;white-space:nowrap;border-color:#dec6ed!important;color:#5d32a6!important;background:#fff!important}
.mbv5-nav-signup:hover{background:#f6edff!important}
.mbv5-auth-head{display:flex;align-items:center;gap:18px;margin:10px 0 21px}
.mbv5-auth-head h2{margin:0 0 8px!important;font-size:clamp(24px,3vw,32px);line-height:1.12}
.mbv5-auth-head .modal-intro{margin:0!important}
.mbv5-auth-symbol{display:flex;align-items:center;justify-content:center;flex:0 0 76px;width:76px;height:76px;background:linear-gradient(130deg,#ffebf5,#ede9ff);border-radius:22px}
.mbv5-auth-symbol img{display:block;width:62px;height:62px;object-fit:contain}
.mbv5-auth-form{display:grid;gap:14px}
.mbv5-auth-form .field{margin:0}
.mbv5-auth-form input,.mbv5-auth-form select{width:100%;min-height:48px}
.mbv5-checkbox{display:flex;gap:11px;align-items:flex-start;font-size:14px;line-height:1.45;color:#4f4a61}
.mbv5-checkbox input{width:17px;height:17px;min-height:0;flex:0 0 17px;margin-top:2px;accent-color:#9141dd}
.mbv5-auth-submit{width:100%;justify-content:center;margin-top:4px}
.mbv5-auth-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 18px;margin-top:18px;padding-top:17px;border-top:1px solid #eee7f1}
.mbv5-auth-links .choice-link{font-size:14px;text-align:center}
.mbv5-form-error{margin:0;padding:12px 14px;background:#fff0f0;border:1px solid #ffc5ce;color:#a01942;border-radius:11px;font-size:14px}
.mbv5-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.mbv5-inline{padding:0;border:0;background:none;text-decoration:underline;color:#803bc8;font:inherit;cursor:pointer}
.mbv5-network-section{background:linear-gradient(165deg,#faf7ff 0%,#fff 100%);border-top:1px solid #f1eafa}
.mbv5-network-head{text-align:center;max-width:730px;margin:0 auto 28px}
.mbv5-network-head h2{font-size:clamp(28px,3vw,47px);line-height:1.1;letter-spacing:-.03em;color:#251a42;margin:12px 0}
.mbv5-network-head p{color:#676477;line-height:1.7;font-size:16px}
.mbv5-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.mbv5-directory-card,.mbv5-directory-empty{background:#fff;border:1px solid #eee9f5;box-shadow:0 18px 34px rgba(75,32,101,.05);border-radius:22px;padding:24px;text-align:left;min-height:204px}
.mbv5-directory-card small{display:block;font-size:14px;letter-spacing:.16em;font-weight:800;color:#8d50c9;margin:15px 0 8px}
.mbv5-directory-card h3{font-size:21px;line-height:1.25;margin:0 0 10px;color:#251a42}
.mbv5-directory-card p{color:#55536d;line-height:1.6;margin:0}
.mbv5-directory-avatar{display:grid;place-items:center;width:47px;height:47px;border-radius:15px;background:#f0e6ff;color:#713ac0}
.mbv5-directory-avatar svg{width:23px;height:23px}
.mbv5-directory-place{display:flex;align-items:center;gap:7px;color:#817d8e;font-size:14px;margin-top:18px}
.mbv5-directory-place svg{width:15px;height:15px}
.mbv5-directory-empty{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;min-height:190px}
.mbv5-directory-empty b{font-size:23px;color:#352850}
.mbv5-directory-empty p{font-size:15px;color:#747083;margin:8px 0 0}
.mbv5-directory-actions{display:flex;justify-content:center;margin-top:28px}
.mbv5-request-actions{margin-top:16px;padding-top:15px;border-top:1px solid #ece8f4;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}
.mbv5-request-actions p{margin:0;color:#71647f}
.mbv5-pro-banner{display:flex;gap:24px;justify-content:space-between;align-items:center;padding:26px 28px;margin-bottom:23px;border-radius:22px;background:linear-gradient(120deg,#2e1b59 5%,#6631c3 73%,#b654d3 120%);color:#fff}
.mbv5-pro-banner small{font-size:14px;letter-spacing:.17em;font-weight:750;opacity:.77}
.mbv5-pro-banner h3{font-size:23px;margin:8px 0 8px;color:#fff}
.mbv5-pro-banner p{max-width:570px;line-height:1.65;margin:0;color:#e8daf9}
.mbv5-pro-banner .btn{flex-shrink:0;background:#fff!important;color:#50299b!important;border:0}
.mbv5-mission{display:flex;gap:20px;justify-content:space-between;align-items:center;padding:18px 4px;border-bottom:1px solid #eeeaf1}
.mbv5-mission:last-child{border-bottom:0}
.mbv5-mission div{min-width:0}
.mbv5-mission b{display:block;color:#25203a;margin-bottom:5px;overflow-wrap:anywhere}
.mbv5-mission small{color:#786b8e}
.mbv5-mission p{margin:9px 0 0;color:#626074;line-height:1.5;font-size:14px;overflow-wrap:anywhere}
.mbv5-mission .btn{flex-shrink:0}
.mbv5-thread{display:grid;gap:12px;max-height:300px;overflow:auto;padding:16px;background:#f9f7ff;border:1px solid #ebe6f5;border-radius:16px;margin:15px 0 23px}
.mbv5-bubble{background:#fff;border:1px solid #efe8f8;border-radius:15px;padding:12px 16px;max-width:90%;justify-self:start}
.mbv5-bubble.mine{background:#eee1ff;border-color:#e4cfff;justify-self:end}
.mbv5-bubble small{display:block;color:#6f6289;margin-bottom:5px;font-size:14px}
.mbv5-bubble p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;line-height:1.55;color:#252032}
.mbv5-offers{margin-top:30px;padding-top:15px;border-top:1px solid #e9e3f1}
.mbv5-offers h3,#mbv5-proposal-form h3{font-size:20px;margin:12px 0 18px;color:#251f42}
.mbv5-offer{background:#fff;border:1px solid #e9e4f2;border-radius:16px;padding:17px;margin-bottom:12px}
.mbv5-offer b{display:block;font-size:16px}
.mbv5-offer small{display:block;margin:6px 0 8px;color:#8b7e9a}
.mbv5-offer p{margin:9px 0;white-space:pre-wrap;line-height:1.6;overflow-wrap:anywhere}
.mbv5-offer-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:16px}
#mbv5-message-form,#mbv5-proposal-form{margin:20px 0 0}
#mbv5-message-form .field,#mbv5-proposal-form .field{margin-bottom:13px}
#mbv5-message-form textarea,#mbv5-proposal-form textarea{min-height:104px}
#mbv5-profile-form input{max-width:600px}
.mbv5-pro-tab[hidden]{display:none!important}
@media (min-width:851px) and (max-width:1160px){.nav-actions>.btn-primary{display:none!important}.mbv5-nav-signup{display:inline-flex!important}}
@media (max-width:768px){
  .mbv5-directory-grid{grid-template-columns:1fr;gap:13px}
  .mbv5-network-head{text-align:left}
  .mbv5-pro-banner,.mbv5-mission{flex-direction:column;align-items:stretch}
  .mbv5-pro-banner .btn{align-self:flex-start}
  .mbv5-mission .btn{align-self:flex-start}
  #app-mobile-tabbar{display:flex;justify-content:space-around;overflow-x:auto;overscroll-behavior-x:contain}
  #app-mobile-tabbar button{flex:0 0 auto;min-width:66px;padding:6px 8px}
  .mbv5-auth-head{gap:13px}
  .mbv5-auth-symbol{flex-basis:58px;height:58px;width:58px;border-radius:18px}
  .mbv5-auth-symbol img{width:45px;height:45px}
  .mbv5-auth-head h2{font-size:23px}
  .mbv5-offer-actions .btn{width:100%;justify-content:center}
}

.mbv52-pages-link{color:#6f43d8;font-size:.88rem;font-weight:800;text-decoration:none}.mbv52-pages-link:hover{text-decoration:underline}
