:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #090b0f;
  color: #f5f7fb;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(115deg, rgba(17, 21, 28, 0.96), rgba(7, 9, 12, 0.98)),
    #090b0f;
}

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

.login-panel {
  width: min(100%, 380px);
  border: 1px solid #2b313b;
  border-radius: 8px;
  padding: 32px;
  background: #11141a;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.login-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: #22c76f;
  color: #07110b;
  font-size: 22px;
  font-weight: 900;
}

.login-kicker {
  margin: 24px 0 6px;
  color: #42dd8a;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.15;
}

.login-copy {
  margin: 10px 0 24px;
  color: #aeb7c5;
  line-height: 1.5;
}

.login-error {
  margin: 0 0 18px;
  border-left: 3px solid #ff6969;
  padding: 9px 12px;
  background: #271619;
  color: #ffd4d4;
  font-size: 14px;
}

form {
  display: grid;
  gap: 9px;
}

label {
  color: #dce2eb;
  font-size: 14px;
  font-weight: 700;
}

input {
  width: 100%;
  height: 46px;
  margin-bottom: 8px;
  border: 1px solid #353d49;
  border-radius: 6px;
  padding: 0 13px;
  background: #090b0f;
  color: #ffffff;
  font: inherit;
  outline: none;
}

input:focus {
  border-color: #22c76f;
  box-shadow: 0 0 0 3px rgba(34, 199, 111, 0.16);
}

button {
  height: 46px;
  margin-top: 6px;
  border: 0;
  border-radius: 6px;
  background: #22c76f;
  color: #07110b;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

button:hover {
  background: #42dd8a;
}

@media (max-width: 480px) {
  .login-panel {
    padding: 26px 22px;
  }
}
