/* Match testclinic clinic-gate: full green field, centered form, white inputs. */
:root {
  --clinic-green: #27452d;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
body.clinic-gate {
  min-height: 100dvh;
  background: var(--clinic-green);
  color: #fff;
}
.login-page {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 24px calc(32px + var(--safe-b));
  max-width: 420px;
  margin: 0 auto;
}
.brand {
  text-align: center;
  margin-bottom: 28px;
}
.brand img.brand-wordmark {
  display: block;
  width: 214px;
  height: 56px;
  object-fit: contain;
  margin: 0 auto 16px;
  /* Dark wordmark → white on green field (same job as testclinic green door). */
  filter: brightness(0) invert(1);
}
.brand p {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
}
.group {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  margin: 12px 0;
}
.group label {
  display: block;
  padding: 11px 16px;
  margin: 0;
  border-bottom: 0.5px solid rgba(60, 60, 67, 0.12);
  font-size: 13px;
  color: #8e8e93;
}
.group label:last-child { border-bottom: 0; }
.group input {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 8px 0 4px;
  margin: 0;
  font: 17px/1.3 -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: #111;
  outline: none;
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  margin-top: 8px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn:active { opacity: 0.92; }
.banner {
  margin: 0 0 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  color: #991b1b;
  font-size: 15px;
  text-align: center;
}
