/* Scoped to native forms. Existing theme colors and native error states remain. */
body[data-path="login"] .page-card-head .app-logo {
  width: 192px;
  max-width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
[data-theme="dark"] body[data-path="login"] .page-card-head .app-logo {
  content: url("/assets/kursist/literary/wordmark-inverse.svg");
}
body[data-path="login"] .app-logo[src=""],
body[data-path="login"] .app-logo[src="None"],
body[data-path="login"] .app-logo[src="null"] {
  display: none;
}
body[data-path="login"] .page-card-body .sr-only {
  position: static;
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0 0 0.375rem;
  overflow: visible;
  clip: auto;
  white-space: normal;
  font-size: 0.875rem;
}
body[data-path="login"] .form-control,
body[data-path="update-password"] .form-control,
body[data-path="login"] .btn,
body[data-path="login"] .es-button,
body[data-path="update-password"] .btn {
  min-height: 44px;
}
body[data-path="login"] .password-field .form-control {
  padding-inline-end: 6rem;
}
body[data-path="login"] .field-icon {
  top: 50%;
  transform: translateY(-50%);
}
body[data-path="login"] .toggle-password {
  top: 0;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.75rem;
  cursor: pointer;
}
body[data-path="login"] .toggle-password:focus-visible {
  outline: 2px solid var(--primary, #171717);
  outline-offset: 2px;
  border-radius: 4px;
}
body[data-path="login"] .page-card-head h4,
body[data-path="update-password"] .page-card-head h4 {
  overflow-wrap: anywhere;
}
