:root {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #071f26;
  background: #eef2f0;
  color-scheme: light;
  line-height: 1.5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.login {
  width: 100%;
  max-width: 380px;
  padding: 28px;
  background: #fff;
  border: 1px solid #cbd7d2;
  border-radius: 20px;
  box-shadow: 0 8px 28px #005d4f06;
}

.brand {
  margin: 0 0 24px;
  color: #005d4f;
  font-size: 1.5rem;
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

form {
  margin: 0;
}

label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 0 16px;
  font-size: 0.85rem;
  font-weight: 650;
}

input,
button {
  width: 100%;
  min-height: 50px;
  border-radius: 10px;
  font: inherit;
}

input {
  padding: 12px;
  border: 1px solid #aebfb8;
  background: #fff;
  color: #071f26;
  font-size: 1rem;
}

button {
  padding: 13px;
  border: 0;
  background: #005d4f;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

button:disabled {
  opacity: 0.6;
  cursor: wait;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid #1576af;
  outline-offset: 3px;
}

.privacy-notice {
  margin: 20px 0 0;
  color: #526a65;
  font-size: 0.8rem;
  overflow-wrap: anywhere;
}

#login-error {
  margin: 0 0 14px;
  color: #982d1c;
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}

#login-error:empty {
  display: none;
}

@media (max-width: 380px) {
  .login {
    padding: 24px;
  }
}
