:root {
  --ink: #0b1f3a;
  --muted: #60708a;
  --gold: #d99f24;
  --blue: #0b355c;
  --line: rgba(255, 255, 255, 0.18);
  --font-sans: "Be Vietnam Pro", Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  font-family: var(--font-sans);
  letter-spacing: 0;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(5, 20, 39, 0.96), rgba(10, 52, 82, 0.94)),
    #071427;
}

button,
input {
  font: inherit;
}

.login-shell {
  min-height: 100vh;
  padding: 28px;
  display: grid;
  place-items: center;
}

.login-panel {
  width: min(100%, 430px);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.055)),
    rgba(8, 24, 45, 0.88);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.brand-mark {
  width: 116px;
  height: 104px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 20px;
  padding: 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f1f6ff);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.24),
    0 0 0 1px rgba(217, 159, 36, 0.16);
}

.brand-mark img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.brand-copy {
  margin-top: 18px;
  display: grid;
  gap: 4px;
  text-transform: uppercase;
}

.brand-copy strong {
  color: var(--gold);
  font-size: 15px;
  font-weight: 850;
}

.brand-copy span {
  color: rgba(226, 237, 255, 0.78);
  font-size: 12px;
  font-weight: 750;
}

h1 {
  margin: 20px 0 22px;
  font-size: 29px;
  line-height: 1.18;
}

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

.login-form label {
  display: grid;
  gap: 7px;
  color: rgba(226, 237, 255, 0.82);
  font-size: 13px;
  font-weight: 750;
}

.login-form input {
  width: 100%;
  border: 1px solid rgba(178, 199, 232, 0.24);
  border-radius: 14px;
  padding: 13px 14px;
  outline: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.login-form input:focus {
  border-color: rgba(217, 159, 36, 0.72);
  box-shadow:
    0 0 0 4px rgba(217, 159, 36, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.login-form button {
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  margin-top: 4px;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, #1265ff, #7438f4);
  box-shadow: 0 16px 32px rgba(18, 101, 255, 0.32);
}

.login-form button:disabled {
  opacity: 0.58;
  cursor: wait;
}

.login-error {
  min-height: 22px;
  margin: 0;
  color: #ffb7b1;
  font-size: 13px;
  font-weight: 750;
}

@media (max-width: 520px) {
  .login-shell {
    padding: 14px;
  }

  .login-panel {
    padding: 24px;
  }

  h1 {
    font-size: 25px;
  }
}
