:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17342f;
  background: #041f1d;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { min-height: 100vh; }
button, input { font: inherit; }
.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 82% 16%, rgba(58, 220, 188, .16), transparent 27%),
    radial-gradient(circle at 12% 86%, rgba(17, 141, 123, .16), transparent 25%),
    linear-gradient(135deg, #031817 0%, #052b28 50%, #063f39 100%);
}
.login-card {
  width: min(440px, 100%);
  padding: 34px;
  border: 1px solid rgba(133, 230, 211, .18);
  border-radius: 28px;
  background: rgba(249, 253, 252, .98);
  box-shadow: 0 28px 80px rgba(0,0,0,.30);
}
.login-brand {
  display: flex;
  align-items: center;
  min-height: 68px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e3ece9;
}
.login-brand img { width: 230px; max-width: 80%; height: auto; }
.login-copy { padding: 28px 0 22px; }
.login-copy span {
  color: #0a8878;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.login-copy h1 {
  margin: 7px 0 0;
  color: #17342f;
  font-size: 31px;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.login-form { display: grid; gap: 17px; }
.login-form label { display: grid; gap: 7px; }
.login-form label > span {
  color: #60756f;
  font-size: 12px;
  font-weight: 750;
}
.login-form input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #cedbd7;
  border-radius: 13px;
  outline: none;
  color: #17342f;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.login-form input:focus {
  border-color: #0d927f;
  box-shadow: 0 0 0 4px rgba(13,146,127,.10);
}
.password-field { position: relative; }
.password-field input { padding-right: 58px; }
.password-field button {
  position: absolute;
  top: 50%;
  right: 9px;
  transform: translateY(-50%);
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  color: #0a7c6e;
  background: #edf7f4;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
.login-error {
  min-height: 18px;
  margin: -2px 0 0;
  color: #b42318;
  font-size: 12px;
  line-height: 1.4;
}
.login-button {
  height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #07594f, #0b8b79);
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(8,113,99,.20);
}
.login-button:hover { filter: brightness(1.04); }
.login-button:disabled { opacity: .65; cursor: wait; }
.login-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.login-card footer {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid #e3ece9;
  color: #8a9b97;
  font-size: 10px;
  text-align: center;
}
@media (max-width: 520px) {
  .login-page { padding: 12px; }
  .login-card { padding: 26px 22px; border-radius: 22px; }
  .login-copy h1 { font-size: 28px; }
}
