/*
 * PracticePort sign-in and password recovery visual theme.
 * Styled separately from the portal because these pages have standalone HTML.
 * No authentication, password, reset or session behaviour is changed.
 */
:root {
  color-scheme: light;
  --pp-auth-navy: #19466a;
  --pp-auth-deep: #143852;
  --pp-auth-teal: #158ca6;
  --pp-auth-border: #d9e8ed;
  --pp-auth-ink: #213746;
  --pp-auth-muted: #58717e;
}
body {
  color: var(--pp-auth-ink) !important;
  background: linear-gradient(145deg, #f9fcfd 0%, #eaf4f8 100%) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
body .wrap {
  min-height: 100vh;
  padding: 22px;
}
body .card,
body main {
  border: 1px solid var(--pp-auth-border) !important;
  background: #fff !important;
  box-shadow: 0 18px 48px rgba(25, 70, 106, .11) !important;
  border-radius: 22px !important;
}
body main {
  width: min(440px, calc(100% - 32px));
  margin: max(10vh, 24px) auto !important;
}
h1, .workspace { color: var(--pp-auth-navy); }
body p { color: var(--pp-auth-muted); line-height: 1.5; }
body label { color: #36566a; }
body input:not([type="hidden"]) {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  color: var(--pp-auth-ink);
  background: #fff;
  border: 1px solid #bcd0d9;
  border-radius: 11px;
}
body input:focus {
  outline: 3px solid rgba(21, 140, 166, .15);
  border-color: var(--pp-auth-teal);
}
body button[type="submit"] {
  min-height: 46px;
  color: #fff;
  background: var(--pp-auth-navy);
  border: 0;
  border-radius: 11px;
  font-weight: 800;
  cursor: pointer;
}
body button[type="submit"]:hover { background: var(--pp-auth-deep); }
body a { color: #11748a; }
body .forgot { color: #11748a; }
body .eye {
  color: var(--pp-auth-navy);
}
body :where(button, a, input):focus-visible {
  outline: 3px solid rgba(21, 140, 166, .5);
  outline-offset: 2px;
}
body .login-error { color: #922e27; background: #fff0ef; }
body .login-success { color: #247047; background: #e8f3ef; }
@media(max-width: 520px) {
  body .card, body main { padding: 24px !important; }
}
