:root {
  --orange: #ff5a00;
  --orange-dark: #c94700;
  --yellow: #ffc107;
  --navy: #15191f;
  --ink: #11151b;
  --muted: #626d7a;
  --line: #d7dde5;
  --surface: #ffffff;
  --danger: #b42318;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { min-height: 100%; background: var(--navy); }

body {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(145deg, rgba(21,25,31,.98), rgba(43,49,57,.97)), repeating-linear-gradient(90deg, transparent 0 79px, rgba(255,255,255,.035) 80px);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.login-shell {
  display: grid;
  width: min(100%, 470px);
  min-height: 100vh;
  margin: auto;
  align-content: center;
  gap: 18px;
  padding: max(24px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom));
}

.identity-panel {
  padding: 28px;
  border-top: 5px solid var(--orange);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.brand-logo { display: block; width: min(100%, 320px); height: auto; margin: 0 0 28px; }

.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
}

.brand-mark span {
  width: 22px;
  height: 22px;
  border: 4px solid white;
  border-top-color: var(--yellow);
  border-radius: 50%;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--orange-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1 { margin: 0; font-family: Montserrat, "Arial Narrow", Arial, sans-serif; font-size: 1.9rem; letter-spacing: -.02em; }
.intro { margin: 10px 0 24px; color: var(--muted); line-height: 1.5; }

form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; color: #35404c; font-size: 0.82rem; font-weight: 800; }

input {
  width: 100%;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f7f9fb;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

input:focus { border-color: var(--orange); outline: 3px solid rgba(242, 106, 33, 0.15); }

button {
  min-height: 56px;
  border: 0;
  border-radius: 6px;
  background: var(--orange);
  color: #18120f;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

button:disabled { opacity: 0.55; }
.form-error { margin: 0; color: var(--danger); font-weight: 750; }
.notice { padding: 12px; border-left: 4px solid var(--yellow); background: #fff8d9; line-height: 1.4; }
.requirements { margin: -6px 0 0; color: var(--muted); font-size: 0.78rem; }
footer { color: #cbd2dc; font-size: 0.78rem; text-align: center; }

@media (max-width: 390px) {
  .identity-panel { padding: 22px; }
}
