:root {
  --bg: #07090d;
  --panel: rgba(13, 18, 25, 0.88);
  --panel-strong: rgba(18, 25, 35, 0.96);
  --line: rgba(255, 255, 255, 0.13);
  --line-strong: rgba(255, 255, 255, 0.22);
  --ink: #f7f4ef;
  --muted: #aeb7c2;
  --muted-soft: #7f8b97;
  --accent: #ff6b4a;
  --accent-strong: #ff9b7a;
  --cyan: #6fe0cf;
  --danger: #ffadb3;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  --font-ui: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(111, 224, 207, 0.09), transparent 34%),
    linear-gradient(315deg, rgba(255, 107, 74, 0.11), transparent 38%),
    linear-gradient(180deg, #07090d 0%, #0b1017 48%, #07090d 100%);
  background-size:
    42px 42px,
    42px 42px,
    auto,
    auto,
    auto;
  color: var(--ink);
  font-family: var(--font-ui);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

.login-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 44px;
  width: min(1120px, calc(100vw - 32px));
  min-height: 100vh;
  margin: 0 auto;
  align-items: center;
  padding: 32px 0;
}

.login-hero {
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 74px;
  height: 74px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 107, 74, 0.95), rgba(255, 155, 122, 0.86)),
    #171d27;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.86;
}

h2 {
  font-size: 1.7rem;
  line-height: 1;
}

.hero-copy {
  max-width: 520px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.status-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.login-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 30%),
    var(--panel);
  box-shadow: var(--shadow);
  padding: 28px;
  backdrop-filter: blur(18px);
}

.card-head {
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.login-form {
  display: grid;
  gap: 16px;
}

.login-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  color: var(--ink);
  padding: 0 14px;
  font-size: 1rem;
  font-weight: 700;
  transition:
    border-color 140ms ease,
    background 140ms ease,
    box-shadow 140ms ease;
}

.login-form input:focus {
  border-color: rgba(255, 155, 122, 0.72);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(255, 107, 74, 0.13);
}

.login-button {
  min-height: 52px;
  margin-top: 4px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), #ff9874);
  color: #fff;
  font-weight: 900;
  transition:
    transform 140ms ease,
    opacity 140ms ease;
}

.login-button:hover:not(:disabled) {
  transform: translateY(-1px);
}

.login-button:disabled {
  cursor: default;
  opacity: 0.62;
}

.login-notice {
  min-height: 22px;
  margin: 16px 0 0;
  color: var(--muted-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.login-notice.error {
  color: var(--danger);
}

.login-notice.success {
  color: var(--cyan);
}

@media (max-width: 820px) {
  .login-shell {
    grid-template-columns: 1fr;
    gap: 26px;
    align-content: center;
  }

  h1 {
    font-size: clamp(2.7rem, 18vw, 5.2rem);
  }
}
