/* KDS sign-in screens (approved 2026-11-16). Approved palette only:
   White #FFFFFF · Light Mint #EAF7F0 · Brand Green #087C50 · Navy Blue #102F49 */
:root {
  --white: #FFFFFF; --mint: #EAF7F0; --green: #087C50; --navy: #102F49;
  --muted: rgba(16, 47, 73, .66); --line: rgba(16, 47, 73, .16);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh; background: var(--mint); color: var(--navy);
  font: 15px/1.5 "Segoe UI", system-ui, -apple-system, "Noto Sans Bengali", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 16px; }
.auth-card {
  width: 100%; max-width: 420px; background: var(--white); border-radius: 16px;
  padding: 32px 28px 24px; box-shadow: 0 10px 30px -12px rgba(16, 47, 73, .22);
}
.brand-logo {
  display: block; width: 158px; aspect-ratio: 1845 / 635; margin: 0 auto 20px;
  background-repeat: no-repeat; background-position: 51.6% 46.6%; background-size: 108.4% auto;
}
h1 { margin: 0 0 4px; font-size: 22px; line-height: 1.3; }
.lede { margin: 0 0 20px; color: var(--muted); }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
label small { font-weight: 400; color: var(--muted); }
input {
  width: 100%; min-height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--navy); background: var(--white);
}
input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(8, 124, 80, .15); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; padding: 0 20px;
  border: 1.5px solid transparent; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer;
  transition: background-color .15s;
}
.btn-primary { background: var(--green); color: var(--white); }
.btn-primary:hover { background: var(--navy); }
.btn[disabled] { opacity: .6; cursor: wait; }
a { color: var(--green); font-weight: 600; text-decoration: none; }
a:hover { text-decoration: underline; }
.links { margin: 14px 0 0; text-align: right; font-size: 14px; }
.switch-line { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--line); text-align: center; color: var(--muted); font-size: 14px; }
.error { margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(16, 47, 73, .06); border-left: 3px solid var(--navy); font-size: 14px; }
.notice { margin: 0 0 18px; padding: 10px 12px; border-radius: 10px; background: rgba(8, 124, 80, .1); color: var(--navy); font-size: 14px; }
.steps { margin: 0 0 8px; padding-left: 20px; color: var(--muted); }
.secret {
  margin: 0; padding: 12px; border-radius: 10px; background: var(--mint); text-align: center;
  font: 600 16px/1.4 ui-monospace, Consolas, monospace; letter-spacing: .08em; word-break: break-all;
}
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.codes li { padding: 8px; border-radius: 8px; background: var(--mint); text-align: center; font: 600 14px ui-monospace, Consolas, monospace; }
.safety { margin: 20px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.foot { margin: 20px 0 0; font-size: 13px; color: var(--muted); }
[hidden] { display: none !important; }
@media (max-width: 420px) { .auth-card { padding: 24px 18px 20px; } }
