:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #082640;
  background: #008b8f;
}

* { box-sizing: border-box; }

html { min-height: 100%; background: #008b8f; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(255, 255, 255, 0.17), transparent 31%),
    radial-gradient(circle at 94% 78%, rgba(4, 67, 75, 0.34), transparent 40%),
    linear-gradient(155deg, #09a6aa 0%, #008b8f 48%, #08777c 100%);
}

button, input { font: inherit; }

.field-login-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-content: center;
  gap: clamp(28px, 7vh, 64px);
  width: min(100%, 520px);
  margin: 0 auto;
  padding: max(32px, env(safe-area-inset-top)) 20px max(32px, env(safe-area-inset-bottom));
}

.field-login-brand {
  display: grid;
  justify-items: center;
  color: #fff;
  text-align: center;
}

.field-login-brand img {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(3, 46, 54, 0.26);
}

.field-login-brand p {
  margin: 18px 0 3px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.field-login-brand h1 {
  margin: 0;
  font-size: clamp(2.25rem, 10vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.field-login-brand > span {
  max-width: 340px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.45;
}

.field-login-card {
  padding: clamp(26px, 7vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 70px rgba(1, 49, 57, 0.24);
}

.field-login-heading { margin-bottom: 25px; }

.field-login-heading p {
  margin: 0 0 6px;
  color: #008b8f;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.field-login-heading h2 {
  margin: 0;
  color: #082640;
  font-size: clamp(1.55rem, 6vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

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

.field-login-form label {
  display: grid;
  gap: 8px;
  color: #183c50;
  font-size: 0.88rem;
  font-weight: 800;
}

.field-login-input { position: relative; display: block; }

.field-login-input svg {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 21px;
  height: 21px;
  color: #008b8f;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(-50%);
  pointer-events: none;
}

.field-login-input input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px 0 50px;
  border: 1px solid #cee1e2;
  border-radius: 16px;
  outline: none;
  color: #082640;
  background: #f7fbfb;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.field-login-input input::placeholder { color: #80969e; }

.field-login-input input:focus {
  border-color: #008b8f;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 139, 143, 0.13);
}

.field-login-form button {
  min-height: 54px;
  margin-top: 3px;
  border: 0;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #00a1a5, #007b80);
  box-shadow: 0 14px 28px rgba(0, 123, 128, 0.24);
  font-weight: 900;
  cursor: pointer;
}

.field-login-form button:active { transform: translateY(1px); }
.field-login-form button:focus-visible { outline: 3px solid rgba(0, 139, 143, 0.28); outline-offset: 3px; }

.field-login-feedback {
  min-height: 1.3em;
  margin: -3px 0 0;
  color: #16636a;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.field-login-feedback:empty { display: none; }

.field-login-help {
  margin: 16px 0 0;
  color: #71868e;
  font-size: 0.8rem;
  text-align: center;
}

@media (min-width: 720px) {
  .field-login-page { width: min(100%, 560px); }
}

@media (max-height: 700px) {
  .field-login-page { align-content: start; gap: 24px; }
  .field-login-brand > span { display: none; }
  .field-login-brand img { width: 62px; height: 62px; border-radius: 18px; }
  .field-login-brand p { margin-top: 12px; }
}
