:root {
  --bg: #07101f;
  --surface: #111d31;
  --text: #f4f7fb;
  --muted: #91a0b8;
  --line: rgba(255, 255, 255, 0.09);
  --primary: #ff6b4a;
  --primary-bright: #ff8b69;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 107, 74, 0.09), transparent 28rem),
    radial-gradient(circle at 90% 80%, rgba(86, 201, 245, 0.1), transparent 30rem),
    linear-gradient(145deg, #07101f, #0b1628);
}

.login-ambient {
  position: fixed;
  z-index: -1;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.13;
}

.login-ambient-one { top: -9rem; left: -7rem; background: var(--primary); }
.login-ambient-two { right: -8rem; bottom: -10rem; background: #56c9f5; }

.login-shell {
  width: min(1040px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
  padding: 56px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 72px;
}

.brand-mark {
  width: 43px;
  height: 43px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  padding: 9px;
  color: #08101d;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--primary-bright), var(--primary));
  box-shadow: 0 8px 24px rgba(255, 107, 74, 0.26);
}

.brand-mark span { width: 5px; border-radius: 5px; background: currentColor; }
.brand-mark span:nth-child(1) { height: 12px; }
.brand-mark span:nth-child(2) { height: 22px; }
.brand-mark span:nth-child(3) { height: 16px; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 0.96rem; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 0.72rem; }

.eyebrow {
  color: var(--primary-bright);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 590px;
  margin: 14px 0 18px;
  font-size: clamp(2.3rem, 5.2vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.login-intro > p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 38px;
  color: #b8c4d5;
  font-size: 0.76rem;
  font-weight: 700;
}

.feature-list span { display: flex; align-items: center; gap: 12px; }
.feature-list b { color: var(--primary-bright); font-family: Consolas, monospace; font-size: 0.65rem; }

.login-card {
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(21, 35, 58, 0.97), rgba(13, 24, 43, 0.97));
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.35);
}

.login-card-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.lock-icon {
  width: 44px;
  height: 44px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: var(--primary-bright);
  border-radius: 12px;
  background: rgba(255, 107, 74, 0.11);
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

h2 { margin: 0; font-size: 1.2rem; }
.login-card-heading p { margin: 5px 0 0; color: var(--muted); font-size: 0.73rem; }
form { display: grid; gap: 17px; }
label { display: grid; gap: 8px; color: #bac5d5; font-size: 0.71rem; font-weight: 800; }

input {
  width: 100%;
  height: 47px;
  padding: 0 14px;
  color: var(--text);
  font: inherit;
  outline: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(5, 12, 24, 0.65);
}

input:focus {
  border-color: rgba(255, 139, 105, 0.65);
  box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.09);
}

.login-button {
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 4px;
  color: #111827;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--primary-bright), var(--primary));
  box-shadow: 0 10px 25px rgba(255, 107, 74, 0.2);
  cursor: pointer;
}

.login-button:disabled { opacity: 0.6; cursor: wait; }
.login-error { min-height: 17px; color: #ff8a9b; font-size: 0.72rem; font-weight: 700; }
.session-note { margin: 22px 0 0; color: #6f7f96; font-size: 0.65rem; line-height: 1.5; text-align: center; }

@media (max-width: 800px) {
  .login-shell { grid-template-columns: 1fr; gap: 38px; padding: 35px 0; }
  .brand { margin-bottom: 45px; }
  .login-intro > p { font-size: 0.86rem; }
  .feature-list { display: none; }
}
