/* ShellKore's sign-in screens (erpeasy-web app/(auth) + components/shared/auth-shell.tsx), copied as plain HTML for
   Estimate Easy. Colours are the ShellKore brand guide's (globals.css). Used by login_shellkore.html and
   set_password_shellkore.html. */
:root {
  --brand-black: #0E0E10; --brand-white: #F7F6F3; --brand-ember: #C2410C; --brand-orange: #FF5A1F;
  --concrete: #BDB8B0; --slate: #55555A; --line: #D9D7D2; --card: #FFFFFF;
  --error-bg: #FEF2F2; --error-fg: #991B1B; --error-line: #FECACA;
  --info-bg: #F5F5F4; --info-fg: #3F3F46; --ok-bg: #F0FDF4; --ok-fg: #166534;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--brand-white);
  color: var(--brand-black); -webkit-font-smoothing: antialiased; }
.shell { display: grid; min-height: 100vh; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .shell { grid-template-columns: 1fr 1fr; } }
.left { display: flex; flex-direction: column; min-height: 100vh; }
.left header { padding: 32px 32px 0; }
.left header img { height: 32px; width: auto; display: block; }
.middle { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.form-box { width: 100%; max-width: 384px; }
.left footer { display: flex; justify-content: space-between; padding: 0 32px 24px; font-size: 12px; color: var(--slate); }
h1 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 6px; }
.sub { font-size: 14px; color: var(--slate); margin: 0 0 24px; }
.banner { display: none; gap: 8px; align-items: flex-start; border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px; font-size: 14px; margin-bottom: 16px; }
.banner.show { display: flex; }
.banner.error { background: var(--error-bg); color: var(--error-fg); border-color: var(--error-line); }
.banner.info { background: var(--info-bg); color: var(--info-fg); }
.banner.success { background: var(--ok-bg); color: var(--ok-fg); }
label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.row { display: flex; justify-content: space-between; align-items: baseline; }
.row a { font-size: 12px; color: var(--slate); text-decoration: none; }
.row a:hover { color: var(--brand-black); text-decoration: underline; text-underline-offset: 4px; }
.field { margin-bottom: 16px; }
.pw { position: relative; }
input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 8px; background: var(--card);
  padding: 0 12px; font: inherit; font-size: 14px; color: inherit; }
.pw input { padding-right: 64px; }
input:focus { outline: 2px solid var(--brand-ember); outline-offset: 1px; border-color: transparent; }
.toggle { position: absolute; right: 6px; top: 6px; height: 28px; border: 0; background: none; color: var(--slate);
  font: inherit; font-size: 12px; cursor: pointer; padding: 0 8px; border-radius: 6px; }
.toggle:hover { color: var(--brand-black); }
button.primary { width: 100%; height: 40px; border: 0; border-radius: 8px; background: var(--brand-black); color: #fff;
  font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
button.primary:disabled { opacity: .6; cursor: default; }
.foot { text-align: center; font-size: 14px; color: var(--slate); margin-top: 24px; }
.foot a, .linkbtn { color: var(--brand-ember); text-decoration: none; background: none; border: 0; font: inherit; cursor: pointer; padding: 0; }
.foot a:hover, .linkbtn:hover { text-decoration: underline; text-underline-offset: 4px; }
.step { display: none; } .step.show { display: block; }
.right { display: none; position: relative; overflow: hidden; background: var(--brand-black); color: var(--brand-white); }
@media (min-width: 1024px) { .right { display: block; } }
.right svg.grid { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .07; }
.right .content { position: relative; display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 48px; gap: 24px; }
.eyebrow { align-self: flex-start; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); border-radius: 999px;
  padding: 4px 12px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.right h2 { font-family: Manrope, Inter, sans-serif; max-width: 28rem; font-size: 34px; line-height: 1.2; font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.right p { max-width: 28rem; font-size: 14px; line-height: 1.6; color: var(--concrete); margin: 0; }
.right .plumb { position: absolute; left: 48px; top: 0; width: 1px; height: 100%; background: linear-gradient(var(--brand-orange), transparent 40%); opacity: .6; }
/* Set-password (accept-invite) page */
.hint { font-size: 12px; color: var(--slate); margin: 6px 0 0; line-height: 1.5; }
.hint.ok { color: var(--ok-fg); } .hint.bad { color: var(--error-fg); }
.ferr { font-size: 12px; color: var(--error-fg); margin: 6px 0 0; display: none; } .ferr.show { display: block; }
input[aria-invalid="true"] { border-color: var(--error-fg); }
.meter { display: flex; gap: 4px; margin-top: 8px; } .meter span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.meter span.on { background: var(--brand-ember); }
.rules { list-style: none; padding: 0; margin: 8px 0 0; font-size: 12px; color: var(--slate); display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; }
.rules li.met { color: var(--ok-fg); }
.rules li::before { content: "\25CB\00A0"; } .rules li.met::before { content: "\2713\00A0"; }
.problem p { font-size: 14px; color: var(--slate); line-height: 1.6; margin: 0 0 20px; }
.actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
a.button { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 8px; background: var(--brand-black);
  color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; }
a.quiet { font-size: 14px; color: var(--slate); text-decoration: none; } a.quiet:hover { color: var(--brand-black); text-decoration: underline; text-underline-offset: 4px; }
.usebtn { color: var(--brand-ember); background: none; border: 0; font: inherit; font-size: 12px; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
