/* Pages publiques de Qlow Refact : structure de la page de connexion de Connect, couleurs de qlow.fr */
:root { --violet:#0A84FF; --violet-fonce:#0070E0; --grad:#0A84FF; --ink:#101828; --body:#344054;
  --muted:#667085; --line:#EEF2F7; --bg:#F4F7FC; --red:#F04438; }
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 48px 20px 72px; position: relative; overflow-x: hidden; }
::selection { background: rgba(10,132,255,0.18); }
.halos { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.halo { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.halo.h1 { width: 620px; height: 620px; top: -260px; left: -180px; background: radial-gradient(circle, rgba(10,132,255,0.30), transparent 70%); }
.halo.h2 { width: 560px; height: 560px; top: -200px; right: -160px; background: radial-gradient(circle, rgba(74,144,217,0.32), transparent 70%); }
.halo.h3 { width: 520px; height: 520px; bottom: -260px; left: 30%; background: radial-gradient(circle, rgba(10,132,255,0.18), transparent 70%); }
main { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; }
.card { width: 100%; max-width: 400px; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15,23,42,0.10), 0 2px 8px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04); padding: 36px 32px; }
.card.large { max-width: 520px; }
.logo { display: block; height: 40px; width: auto; margin: 0 auto 24px; }
h1 { font-size: 19px; font-weight: 700; text-align: center; margin: 0 0 6px; color: var(--ink); letter-spacing: -0.2px; }
.sub { font-size: 13.5px; color: var(--muted); text-align: center; margin: 0 0 26px; line-height: 1.5; }
label { display: block; font-size: 12.5px; font-weight: 600; color: var(--body); margin: 0 0 6px; }
.field { margin-bottom: 16px; }
input[type=email], input[type=password], input[type=text] { width: 100%; height: 42px; padding: 0 13px; font-size: 14px; font-family: inherit;
  color: var(--ink); background: #fff; border: 1px solid #E4E9F0; border-radius: 10px; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(10,132,255,0.15); }
.btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 44px; margin-top: 6px; font-size: 14.5px; font-weight: 600;
  font-family: inherit; color: #fff; background: var(--grad); border: none; border-radius: 10px; cursor: pointer; text-decoration: none;
  box-shadow: 0 4px 16px rgba(10,132,255,0.28); transition: opacity .15s, transform .15s; }
.btn:hover { opacity: .92; }
.btn:disabled { opacity: .6; cursor: default; }
.btn.auto { width: auto; padding: 0 26px; }
.err { display: none; font-size: 13px; color: #B42318; background: #FEF3F2; border: 1px solid #FECDCA; border-radius: 10px; padding: 10px 12px; margin-bottom: 16px; line-height: 1.45; }
.err.show { display: block; }
.ok { font-size: 13.5px; color: var(--ink); background: #F4FAFD; border: 1px solid #D6EBFF; border-radius: 10px; padding: 12px 14px; line-height: 1.5; }
.liens { text-align: center; margin-top: 18px; font-size: 13px; color: var(--muted); }
.liens a { color: var(--violet-fonce); text-decoration: none; font-weight: 600; }
.liens a:hover { text-decoration: underline; }
.code { height: 54px !important; text-align: center; font-size: 26px !important; font-weight: 600; letter-spacing: 10px; padding-left: 10px !important; }
.case { display: flex; align-items: flex-start; gap: 9px; margin: 14px 0 4px; font-size: 13px; font-weight: 400; color: var(--body); cursor: pointer; line-height: 1.45; }
.case input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--violet); flex-shrink: 0; }
.formules { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.formule { border: 1px solid var(--line); border-radius: 10px; padding: 12px 13px; cursor: pointer; background: #fff; transition: border-color .12s, box-shadow .12s; }
.formule.on { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(10,132,255,0.15); }
.formule .t { font-size: 13px; font-weight: 600; color: var(--ink); }
.formule .p { font-size: 18px; font-weight: 700; color: var(--ink); margin-top: 4px; }
.formule .p span { font-size: 12px; font-weight: 500; color: var(--muted); }
.mention { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; line-height: 1.5; }
.pied { position: fixed; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 12px; color: #98A2B3; z-index: 1; }
.pied a { color: inherit; text-decoration: none; }
.pied a:hover { color: var(--body); }
/* page d'attente */
.attente { text-align: center; max-width: 620px; }
.attente .logo { height: 54px; margin-bottom: 34px; }
.attente h1 { font-size: 34px; line-height: 1.2; letter-spacing: -0.8px; margin-bottom: 16px; }
.attente p { font-size: 16px; color: var(--body); line-height: 1.6; margin: 0 auto 30px; max-width: 520px; }
.attente .actions { display: flex; align-items: center; justify-content: center; gap: 22px; }
.attente .actions .lien { font-size: 14px; font-weight: 600; color: var(--violet-fonce); text-decoration: none; }
/* page du collaborateur */
.collab { width: 100%; max-width: 860px; }
.collab .entete { text-align: center; margin-bottom: 26px; }
.collab .entete img { max-height: 48px; max-width: 220px; object-fit: contain; margin-bottom: 18px; }
.collab .message { white-space: pre-line; font-size: 14px; color: var(--body); line-height: 1.6; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; margin: 0 0 22px; }
.ligne { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; margin-bottom: 12px; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr); gap: 16px; align-items: end;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04); }
.ligne .soc { font-size: 14px; font-weight: 600; color: var(--ink); }
.ligne .meta { font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.ligne input { height: 38px; }
.ligne .aide { font-size: 12px; color: var(--muted); margin-top: 6px; }
.ligne .aide a { color: var(--violet-fonce); cursor: pointer; font-weight: 600; text-decoration: none; }
.ligne .enr { font-size: 12px; color: #079455; font-weight: 600; margin-top: 6px; min-height: 16px; }
.ligne.verrou { opacity: .6; }
@media (max-width: 640px) { .ligne { grid-template-columns: 1fr; } .formules { grid-template-columns: 1fr; } .attente h1 { font-size: 27px; } .card { padding: 28px 22px; } }
