/*
 * Alerte Pellet — Auth UX publique
 * Powered by JeyZee
 */

:root{
  color-scheme:dark;
  --bg:#0b1017;
  --panel:#121a24;
  --panel-soft:#17212d;
  --border:#263342;
  --text:#f4f7fa;
  --muted:#9aa9b8;
  --orange:#ff7a1a;
  --orange-soft:rgba(255,122,26,.14);
  --success:#7bd88f;
  --error:#ff8383;
}

*{
  box-sizing:border-box;
}

html,
body{
  margin:0;
  min-height:100%;
}

body{
  min-height:100vh;
  background:
    radial-gradient(
      circle at top,
      rgba(255,122,26,.09),
      transparent 34%
    ),
    var(--bg);
  color:var(--text);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.auth-login-page{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 18px;
}

.auth-login-shell{
  width:100%;
  max-width:560px;
}

.auth-login-card{
  border:1px solid var(--border);
  border-radius:26px;
  padding:34px;
  background:rgba(18,26,36,.96);
  box-shadow:
    0 28px 80px rgba(0,0,0,.35);
}

.auth-login-brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:var(--text);
  text-decoration:none;
  font-weight:900;
}

.auth-login-logo{
  width:58px;
  height:58px;
  object-fit:contain;
}

.auth-login-heading{
  margin-top:30px;
}

.auth-login-eyebrow{
  margin:0 0 8px;
  color:var(--orange);
  text-transform:uppercase;
  letter-spacing:.09em;
  font-size:12px;
  font-weight:900;
}

.auth-login-heading h1{
  margin:0;
  font-size:
    clamp(30px,6vw,44px);
  line-height:1.02;
  letter-spacing:-.035em;
}

.auth-login-heading p:not(.auth-login-eyebrow){
  margin:16px 0 0;
  color:var(--muted);
  line-height:1.6;
}

.auth-login-form{
  margin-top:30px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.auth-login-form label{
  font-weight:800;
}

.auth-login-form input{
  width:100%;
  border:1px solid var(--border);
  border-radius:13px;
  padding:14px 15px;
  background:#0d141d;
  color:var(--text);
  font:inherit;
  outline:none;
}

.auth-login-form input:focus{
  border-color:var(--orange);
  box-shadow:
    0 0 0 3px var(--orange-soft);
}

.auth-login-primary{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  border:1px solid var(--orange);
  border-radius:13px;
  padding:12px 18px;
  background:var(--orange);
  color:#fff;
  text-decoration:none;
  font:inherit;
  font-weight:900;
  cursor:pointer;
  box-shadow:
    0 8px 24px rgba(255,122,26,.23);
}

.auth-login-primary:disabled{
  opacity:.6;
  cursor:wait;
}

.auth-login-help{
  margin:2px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

.auth-login-status{
  margin-top:22px;
  padding:15px 16px;
  border-radius:13px;
  line-height:1.55;
}

.auth-login-status[data-status="success"]{
  border:1px solid rgba(123,216,143,.35);
  background:rgba(123,216,143,.09);
  color:#d5f6dd;
}

.auth-login-status[data-status="error"]{
  border:1px solid rgba(255,131,131,.35);
  background:rgba(255,131,131,.08);
  color:#ffd6d6;
}

.auth-login-session{
  margin-top:28px;
  padding:18px;
  border:1px solid rgba(123,216,143,.3);
  border-radius:16px;
  background:rgba(123,216,143,.07);
}

.auth-login-session strong{
  display:block;
  margin-bottom:14px;
}

.auth-login-security{
  margin-top:26px;
  display:flex;
  gap:8px;
  justify-content:center;
  color:var(--muted);
  font-size:13px;
}

.auth-login-powered{
  margin:18px 0 0;
  text-align:center;
  color:#718091;
  font-size:12px;
}

@media (max-width:600px){
  .auth-login-page{
    align-items:flex-start;
    padding:16px 12px;
  }

  .auth-login-card{
    border-radius:20px;
    padding:24px 18px;
  }

  .auth-login-heading{
    margin-top:22px;
  }
}
/* P3-AUTH-UX-CSS-LOCK-2026-10-01 */
/* Powered by JeyZee */

.auth-login-lock{
  position:relative;
  display:inline-block;
  flex:0 0 auto;
  width:12px;
  height:10px;
  margin-right:2px;
  border:1.5px solid currentColor;
  border-radius:2px;
}

.auth-login-lock::before{
  content:"";
  position:absolute;
  left:50%;
  bottom:7px;
  width:7px;
  height:7px;
  border:1.5px solid currentColor;
  border-bottom:0;
  border-radius:6px 6px 0 0;
  transform:translateX(-50%);
}


/* P3-AUTH-UX-HIDDEN-STATE-2026-10-01 */
/* Powered by JeyZee */

[hidden]{
  display:none !important;
}


/* CHANTIER-4-MES-ALERTES-ACCOUNT-ACTION-2026-10-04 */
/* Powered by JeyZee */
.auth-login-session-actions{display:grid;gap:10px}
.auth-login-secondary{display:flex;align-items:center;justify-content:center;min-height:48px;border:1px solid var(--border);border-radius:13px;padding:12px 18px;background:var(--panel-soft);color:var(--text);text-decoration:none;font:inherit;font-weight:900}
.auth-login-secondary:hover{border-color:rgba(255,122,26,.55)}

/* AP-RAPPEL R017 — Powered by JeyZee */
#auth-reminder-notice{padding:14px;border:1px solid #263445;border-radius:12px;color:#bac5d2;font-size:14px;line-height:1.6}#auth-reminder-notice p{margin:0 0 12px}#auth-reminder-notice label{display:flex;align-items:flex-start;gap:10px;cursor:pointer}#auth-reminder-notice input{appearance:auto!important;width:18px!important;height:18px!important;min-width:18px;margin:3px 0 0;accent-color:#ff7a1a}
