#auth-view {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  min-height: 100svh;
  padding: 96px 16px 24px;
  background: linear-gradient(180deg, #fff, #f3f4f3);
  color: #202421;
}
#auth-view .auth-topbar {
  align-self: center;
  justify-content: center;
  height: 44px;
}
#auth-view .auth-topbar a { display: flex; align-items: center; min-height: 44px; }
#auth-view .auth-topbar img { width: 176px; height: auto; }
#auth-view .auth-layout {
  display: block;
  width: 100%;
  max-width: 480px;
  flex: none;
  margin: 32px auto 0;
  padding: 0;
}
#auth-view .auth-layout:has(#patient-signup) { max-width: 560px; }
#auth-view .auth-card {
  padding: 24px;
  border: 0;
  border-radius: 12px;
  background: white;
  box-shadow: 0 1px 3px #121b1610, 0 4px 14px #121b160c;
}
#auth-view h1 {
  margin: 0 0 12px;
  text-align: center;
  color: #18211b;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1.1px;
  line-height: 36px;
}
#auth-view .auth-intro {
  margin: 0 0 12px;
  color: #454b46;
  text-align: center;
  font-size: 16px;
  line-height: 24px;
}
#auth-view .auth-field { margin-bottom: 4px; color: #444b46; font-size: 16px; line-height: 24px; }
#auth-view .auth-card input, #auth-view .auth-signup-field select {
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #cbd0cc;
  border-radius: 8px;
  color: #202421;
  font-size: 16px;
}
#auth-view .auth-card input::placeholder { color: #737b75; }
#auth-view .auth-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin: 16px 0 0;
  border: 0;
  border-radius: 8px;
  background: #193d2b;
  color: white;
  font-size: 14px;
  font-weight: 500;
}
#auth-view .auth-submit:hover { background: #102e1e; }
#auth-view .auth-account-choice {
  align-items: center;
  gap: 4px 12px;
  margin-top: 12px;
  border: 0;
  border-radius: 8px;
  padding: 6px 16px;
  background: #edf0ed;
}
#auth-view .auth-account-choice p { color: #38413b; font-size: 13px; }
#auth-view .auth-create-account {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0;
  background: transparent; color: #1d412b; text-decoration: underline; text-underline-offset: 3px;
  font-size: 14px; font-weight: 700;
}
#auth-view .auth-error:empty { display: none; }
#auth-view .auth-card :focus-visible { outline: 2px solid #386c4d; outline-offset: 3px; }
@media (max-width: 520px) {
  #auth-view .auth-card { padding: 20px; }
}

#auth-view .auth-footer {
  display: block;
  margin-top: auto;
  padding: 40px 0 0;
  border: 0;
  color: #626c65;
  font-size: 12px;
  text-align: center;
}

#auth-view .auth-help-box {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #f5f7f5;
  border: 1px solid #e1e6e1;
}
#auth-view .auth-help-box p {
  margin: 0;
  color: #424c45;
  font-size: 13px;
  line-height: 1.55;
}
#auth-view .auth-help-box a {
  color: #193d2b;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
