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

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background:
    radial-gradient(circle at 20% 15%, rgba(60, 208, 175, 0.12), transparent 36%),
    radial-gradient(circle at 85% 80%, rgba(62, 137, 255, 0.1), transparent 35%),
    #071218;
}

.login-shell {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
}

.login-card {
  width: min(100%, 390px);
  padding: 34px 28px 30px;
  border: 1px solid rgba(136, 210, 194, 0.16);
  border-radius: 24px;
  background: rgba(10, 27, 34, 0.92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.login-mark {
  position: relative;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid rgba(92, 232, 192, 0.45);
  border-radius: 13px;
  transform: rotate(45deg);
}

.login-mark span {
  position: absolute;
  inset: 9px;
  border: 2px solid #5ce8c0;
  border-radius: 6px;
}

.login-mark span:last-child {
  inset: 15px;
  background: #5ce8c0;
  border: 0;
}

.login-kicker {
  margin: 0 0 8px;
  color: #5ce8c0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

h1 {
  margin: 0;
  font-size: clamp(26px, 8vw, 34px);
  letter-spacing: -0.035em;
}

.login-note {
  margin: 10px 0 24px;
  color: #98aaa8;
  font-size: 14px;
}

.login-error {
  margin: -8px 0 18px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 110, 110, 0.28);
  border-radius: 10px;
  background: rgba(255, 85, 85, 0.08);
  color: #ffaaaa;
  font-size: 13px;
}

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

label {
  display: grid;
  gap: 8px;
  color: #bdcecb;
  font-size: 13px;
  font-weight: 600;
}

input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(150, 201, 193, 0.18);
  border-radius: 12px;
  outline: none;
  background: rgba(3, 14, 19, 0.72);
  color: #f4fffc;
  font: inherit;
  font-size: 16px;
  padding: 0 14px;
}

input:focus {
  border-color: rgba(92, 232, 192, 0.75);
  box-shadow: 0 0 0 3px rgba(92, 232, 192, 0.1);
}

button {
  min-height: 52px;
  margin-top: 5px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #5ce8c0, #41c9a8);
  color: #062019;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

button:active {
  transform: translateY(1px);
}
