/* Candivio v9.5 — connexion / récupération / nouveau mot de passe. */
body.candivio-board .cv-auth-screen,
body.candivio-auth .cv-auth-shell {
  min-height:100vh;min-height:100dvh; width:100%;
  display:flex;justify-content:center;align-items:center;
  padding:38px 18px;
  background:radial-gradient(ellipse 510px 330px at 9% 0%,#e0f4f2 0%,transparent 83%),
             radial-gradient(ellipse 530px 380px at 100% 95%,#e4f0fc 0%,transparent 80%),#f5f8fc;
}
body.candivio-auth { margin:0; min-height:100vh; min-height:100dvh; font-family:var(--cv-font,'Poppins',sans-serif); background:#f5f8fc; }
body.candivio-auth main.cv-auth-shell {max-width:none!important;margin:0!important;padding:38px 18px!important;}
body.candivio-board .cv-auth-screen { z-index:200; overflow:auto; }
body.candivio-board .login-card.cv-auth-card,
body.candivio-auth .cv-auth-card {
  display:block;flex:none; width:min(100%,485px);margin:0; padding:0;
  background:#fff; border:1px solid #dce8f1; border-radius:21px;
  box-shadow:0 26px 84px rgba(13,43,75,.105)!important; overflow:hidden;
  color:#183957;text-align:left;
}
body .cv-auth-card-top {background:#0c233f;padding:25px 34px 22px;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
body.candivio-board .cv-auth-card-top .login-logo-wrap{margin:0;display:block;}
body .cv-auth-logo {display:inline-flex!important;align-items:center;text-decoration:none!important;white-space:nowrap;}
body .cv-auth-logo .cv-wordmark{font-size:31px!important;font-weight:800!important;letter-spacing:-1.7px!important;line-height:1.1;}
body .cv-auth-logo .cv-wordmark-name{color:#fff!important}
body .cv-auth-logo .cv-wordmark-dot{color:#15d0c2!important}
body .cv-auth-tag{font-size:9px;letter-spacing:2.1px;font-weight:700;color:#8cb5cd;}
body .cv-auth-card-body{display:flex;flex-direction:column;gap:0;padding:31px 34px 28px;}
body.candivio-board .cv-auth-card-body h2,body.candivio-auth .cv-auth-card-body h1{
  margin:0 0 12px!important; font-size:clamp(22px,4vw,26px)!important;
  font-weight:800!important;line-height:1.27;letter-spacing:-.9px!important;color:#123354!important;
}
body .cv-auth-dot {color:#14b8a6;}
body .cv-auth-step{color:#028d9d;letter-spacing:1.6px;font-size:10px;font-weight:800;margin-bottom:10px;}
body.candivio-board .cv-auth-card-body p.cv-auth-desc,body.candivio-auth .cv-auth-desc {
  margin:0 0 23px!important;color:#627e97;font-size:12.5px;line-height:1.8;
}
body .cv-auth-form {display:flex;flex-direction:column;gap:16px;}
body.candivio-board .cv-auth-card-body .cv-auth-field {margin-bottom:17px;}
body .cv-auth-field-title{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}
body .cv-auth-field-title a{color:#087f9a!important;font-size:11px;font-weight:600;text-decoration:none}
body .cv-auth-field-title a:hover{text-decoration:underline}
body .cv-auth-field label{display:block;color:#24425f;font-size:11.5px;font-weight:700;margin-bottom:8px}
body.candivio-board .cv-auth-field input,body.candivio-auth .cv-auth-field input{
  box-sizing:border-box;display:block;width:100%;min-height:46px;margin:0;padding:11px 13px;
  border:1px solid #d9e5f0!important;border-radius:10px!important;
  background:#fbfdff;color:#183957;font:500 12.5px var(--cv-font,'Poppins',sans-serif);outline:0;
}
body .cv-auth-field input:focus{border-color:#0d9fa7!important;box-shadow:0 0 0 3px #18bfb014!important}
body .cv-auth-field input::placeholder{color:#9baebf;}
body.candivio-board .login-card .cv-auth-submit,body.candivio-auth button.cv-auth-submit{
  border:1px solid #0582b0!important;background:#0582b0!important;color:#fff!important;
  display:flex;justify-content:center;align-items:center;gap:12px;
  width:100%;min-height:47px;padding:12px 18px;margin:1px 0 0!important;
  border-radius:10px;font:700 12.5px var(--cv-font,'Poppins',sans-serif);cursor:pointer;
  box-shadow:0 8px 18px rgba(5,130,176,.17);transition:filter .15s;
}
body .cv-auth-submit:hover{filter:brightness(.92)}
body .cv-auth-submit:disabled{opacity:.65;cursor:wait}
body .cv-auth-card-footer{background:#f8fbfd;border-top:1px solid #e6eff6;padding:18px 31px;
  color:#89a0b4;font-size:10px;line-height:1.6;text-align:center;}
body .cv-auth-back{align-self:flex-start;margin-top:22px!important;display:inline-block;font-weight:600;font-size:11.5px;
  color:#177a99!important;text-decoration:none;}
body .cv-auth-back:hover{text-decoration:underline}
body .cv-auth-tip{font-size:11px;color:#7893aa;line-height:1.7;margin:16px 0 0;}
body .cv-auth-notice:empty,body .cv-auth-notice[hidden]{display:none!important}
body.candivio-board p.login-error.cv-auth-notice,
body.candivio-auth .cv-auth-notice {font-size:11.5px;line-height:1.7;border-radius:10px;overflow-wrap:anywhere;}
body.candivio-board p.login-error.cv-auth-notice:not(:empty),body.candivio-auth .cv-auth-notice.error {
  color:#ad343e!important;padding:12px 14px;background:#fff1f2;border:1px solid #f5cfd4;margin:0 0 15px!important;
}
body.candivio-auth .cv-auth-notice.ok {background:#e9f8f5;border:1px solid #b9e8dc;color:#156a5d;padding:13px 14px;margin:0 0 17px;}
body.candivio-auth .cv-auth-notice.info {background:#eaf5fd;border:1px solid #c8e4f6;color:#275a7f;padding:13px 14px;margin:0 0 17px;}
body.candivio-auth #formArea[hidden],body.candivio-auth #forgotForm[hidden]{display:none!important;}
@media(max-width:540px){body.candivio-board .cv-auth-screen,body.candivio-auth main.cv-auth-shell{padding:18px 12px!important;}
  body .cv-auth-card-top{padding:24px 25px 20px;}body .cv-auth-card-body{padding:27px 24px 25px;}body .cv-auth-card-footer{padding:17px 20px;}}

body .cv-auth-back-secondary { margin-top:10px!important; color:#69849a!important; }

/* Candivio v9.7 : retour visible et accessible de récupération par e-mail. */
body.candivio-auth #notice.cv-auth-feedback:not([hidden]) {
  display:flex!important; align-items:flex-start; gap:12px;
  padding:16px!important; margin:0 0 21px!important;
  border:1.5px solid; border-radius:12px;
  font-size:12px; line-height:1.6; box-shadow:0 6px 20px rgba(20,50,75,.045);
}
body.candivio-auth #notice.cv-auth-feedback.ok {
  background:#eaf9f0; border-color:#87d1a6; color:#165d39!important;
}
body.candivio-auth #notice.cv-auth-feedback.error {
  background:#fff0f1; border-color:#ed9fa9; color:#9f2634!important;
}
body.candivio-auth #notice.cv-auth-feedback.info {
  background:#edf7fe; border-color:#a8d8ef; color:#235a78!important;
}
body.candivio-auth .cv-auth-feedback-icon {
  display:grid; place-items:center; flex:0 0 30px; width:30px; height:30px;
  border-radius:50%; font-size:18px; font-weight:800; line-height:1;
}
body.candivio-auth .cv-auth-feedback.ok .cv-auth-feedback-icon {background:#c8efd8; color:#126238;}
body.candivio-auth .cv-auth-feedback.error .cv-auth-feedback-icon {background:#ffd2d6; color:#a32336;}
body.candivio-auth .cv-auth-feedback.info .cv-auth-feedback-icon {background:#d0eaf9; color:#246388;}
body.candivio-auth .cv-auth-feedback-copy {display:flex; flex-direction:column; gap:3px; min-width:0;}
body.candivio-auth .cv-auth-feedback-title {font-size:13px; font-weight:800; line-height:1.45;}
body.candivio-auth .cv-auth-feedback-message {font-size:11.5px; line-height:1.65;}
