/* Shared authentication screens — split card, used by both V9 panels. */
.authpage {
  min-height: 100vh; display: grid; place-items: center; padding: 34px 22px;
  background: #F4F3EF; position: relative;
}
.themebtn {
  position: absolute; top: 24px; right: 28px; width: 38px; height: 38px; border: none;
  background: none; border-radius: 10px; display: grid; place-items: center;
  color: #5A6276; cursor: pointer;
}
.themebtn:hover { background: rgba(16,21,31,.06); }

.authcard {
  width: min(960px, 100%); background: #fff; border-radius: 18px;
  box-shadow: 0 24px 70px rgba(16,21,31,.10), 0 2px 6px rgba(16,21,31,.04);
  display: grid; grid-template-columns: 420px minmax(0, 1fr); overflow: hidden;
}
@media (max-width: 880px) {
  .authcard { grid-template-columns: 1fr; }
  .authart { display: none; }
}

.authart {
  background: #F4F3EF; padding: 46px 40px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  border-right: 1px solid #ECEAE4;
}
.authart .bot { width: 152px; margin-bottom: 26px; }
.authart .bot svg { width: 100%; height: auto; }

.authform { padding: 46px 48px; min-width: 0; }
@media (max-width: 560px) { .authform { padding: 32px 24px; } }
.authform h1 {
  margin: 0 0 6px; font-size: 30px; font-weight: 800; letter-spacing: -.03em;
  color: #10151F; line-height: 1.15;
}
.authform .authsub { margin: 0 0 26px; color: #5A6276; font-size: 14px; line-height: 1.55; }

.authfield { margin-bottom: 16px; }
.authfield > label {
  display: block; font-size: 13px; font-weight: 600; color: #39414F; margin-bottom: 7px;
}
.authfield.has-error > label { color: #DC2626; }
.authinp {
  width: 100%; border: 1px solid #D8DCE4; border-radius: 10px; padding: 13px 14px;
  font-size: 14px; outline: none; background: #fff; color: #10151F;
}
.authinp::placeholder { color: #A3ABB9; }
.authinp:focus { border-color: #3B2EE8; box-shadow: 0 0 0 3px rgba(59,46,232,.12); }
.authfield.has-error .authinp { border-color: #DC2626; }
.authfield.has-error .authinp:focus { box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.fielderr { color: #DC2626; font-size: 12.5px; margin-top: 6px; min-height: 0; }
.fielderr:empty { display: none; }
.fieldhint { color: #78818F; font-size: 12.5px; margin-top: 6px; }

.pwwrap { position: relative; }
.pwwrap .authinp { padding-right: 44px; }
.peek {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: none; background: none; border-radius: 8px;
  display: grid; place-items: center; color: #7A8292; cursor: pointer;
}
.peek:hover { background: #F2F4F7; color: #39414F; }

.pwmeter { height: 5px; background: #ECEEF2; border-radius: 999px; overflow: hidden;
  margin: -8px 0 16px; }
.pwmeter .bar { height: 100%; width: 0; border-radius: 999px; transition: width .18s,
  background .18s; }

.authrow {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  margin: 6px 0 20px; flex-wrap: wrap;
}
.cbxrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px;
  color: #39414F; cursor: pointer; }
.cbx { width: 17px; height: 17px; accent-color: #3B2EE8; cursor: pointer; }
.authlink { color: #3B2EE8; font-size: 13.5px; font-weight: 600; text-decoration: none; }
.authlink:hover { text-decoration: underline; }

.authbtn {
  width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 18px; border-radius: 10px; border: 1px solid transparent;
  background: #3B2EE8; color: #fff; font-size: 14.5px; font-weight: 700; cursor: pointer;
}
.authbtn:hover:not(:disabled) { background: #2D22C4; }
.authbtn:disabled { opacity: .6; cursor: not-allowed; }
.authbtn.ghost { background: #fff; color: #3B2EE8; border-color: #D8DCE4; margin-top: 12px; }
.authbtn.ghost:hover:not(:disabled) { background: #F7F7FD; border-color: #C4C9D4; }

.authnote { color: #78818F; font-size: 12.5px; margin-top: 12px; line-height: 1.6; }
.authsep { border-top: 1px solid #ECEEF2; margin: 24px 0 18px; }
.authfoot { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: #5A6276;
  flex-wrap: wrap; margin-bottom: 6px; }

.authbanner {
  display: flex; align-items: flex-start; gap: 10px; border-radius: 10px;
  padding: 12px 14px; font-size: 13px; margin-bottom: 20px; line-height: 1.5;
}
.authbanner.err { background: #FDECEA; color: #9B1C14; }
.authbanner.ok { background: #E7F7EE; color: #11603A; }
.authbanner.warn { background: #FEF6E6; color: #8A5A07; }
.authbanner svg { flex: 0 0 18px; margin-top: 1px; }

.guidedock {
  position: fixed; left: 16px; bottom: 16px; background: #fff; border-radius: 14px;
  box-shadow: 0 8px 26px rgba(16,21,31,.12); padding: 11px 17px 11px 12px;
  display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600;
  color: #10151F;
}
.guidedock .bot { width: 30px; height: 30px; border-radius: 9px; background: #F1F0FD;
  color: #3B2EE8; display: grid; place-items: center; }
.guidedock .bot svg { width: 19px; height: 19px; }
@media (max-width: 880px) { .guidedock { display: none; } }
