.ubk-login {
  --form-ink: #151515;
  --form-muted: #77777b;
  --form-accent: var(--ubk-accent, #9fd158);
  --form-border: #ebebee;
  margin: 0;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  padding: 0;
  background: #fff;
  color: var(--form-ink);
  font-family: "Figtree", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
.ubk-login *,
.ubk-login *::before,
.ubk-login *::after { box-sizing: border-box; }
.ubk-login button,
.ubk-login input { font: inherit; }
.ubk-login button { -webkit-tap-highlight-color: transparent; }
.ubk-login :focus-visible { outline: 2px solid var(--form-accent); outline-offset: 3px; }
.login-card {
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  overflow: hidden;
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.login-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  color: #fff;
  background: #4a4037;
}
.login-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
  transform: scaleX(-1) scale(1.16);
  transform-origin: 50% 30%;
}
.login-visual::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, #00000010 0%, transparent 43%, #00000012 65%, #140d05b3 100%);
}
.login-logo { display: block; width: 90px; height: auto; filter: brightness(0) invert(1); }
.login-intro { padding-top: 280px; }
.login-tagline { margin: 0 0 22px; font-size: 19px; font-weight: 500; line-height: 1.3; letter-spacing: -.55px; }
.login-signature { margin: 0; font-size: 12px; font-weight: 500; line-height: 1.5; }
.login-signature span { display: block; margin-top: 2px; font-weight: 400; }
.login-panel { min-width: 0; display: flex; align-items: center; justify-content: center; padding: 56px 24px; }
.login-content { width: 100%; max-width: 400px; }
.login-heading { margin-bottom: 24px; text-align: center; }
.login-heading h1 { margin: 0 0 8px; font-size: 19px; font-weight: 500; letter-spacing: -.6px; line-height: 1.3; }
.login-heading p { margin: 0; color: #747478; font-size: 12px; line-height: 1.6; }
.login-form { display: flex; flex-direction: column; gap: 10px; }
.login-form .login-field {
  position: relative;
  display: block;
  border: 1px solid #e8e8eb;
  border-radius: 6px;
  box-shadow: 0 1px 3px #00000004;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.login-form .login-field:focus-within { border-color: var(--form-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--form-accent) 15%, transparent); }
.login-form .login-field label { position: absolute; z-index: 1; top: 6px; left: 11px; margin: 0; font-size: 12px; line-height: 1; color: #747478; }
.login-form .login-field input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 24px 11px 4px;
  border: 0;
  outline: 0;
  border-radius: 6px;
  background: transparent;
  color: #111;
  font-size: 12px;
  line-height: 18px;
}
.login-form .login-field input::placeholder { color: #b1b1b7; }
.login-form .login-field input:autofill { box-shadow: 0 0 0 100px #fff inset; }
.login-form .login-password-field input { padding-right: 48px; }
.login-password-toggle { position: absolute; right: 0; top: 0; width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #909096; cursor: pointer; }
.login-password-toggle svg { width: 18px; height: 18px; }
.login-eye-slash { display: none; }
.login-password-toggle[aria-pressed="true"] .login-eye-slash { display: block; }
.login-submit { display: block; width: 100%; min-height: 34px; padding: 7px 16px; border: 1px solid var(--form-accent); border-radius: 99px; background: var(--form-accent); color: var(--ubk-on-accent, #182411); font-size: 12px; font-weight: 500; cursor: pointer; transition: background .15s; }
.login-submit:hover { background: var(--ubk-accent-hover, #8bbd45); }
.login-submit:disabled { cursor: wait; opacity: .7; }
.login-alert { padding: 10px 12px; border: 1px solid #efd4d4; border-radius: 7px; background: #fff6f6; color: #9e3131; font-size: 12px; line-height: 1.5; }
.login-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 700px) {
  .login-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: 190px 1fr; }
  .login-visual { min-height: 190px; padding: 22px; }
  .login-photo { object-position: 50% 35%; transform: scaleX(-1); }
  .login-logo { width: 74px; }
  .login-intro { padding-top: 30px; max-width: 260px; }
  .login-tagline { margin-bottom: 0; font-size: 17px; }
  .login-signature { display: none; }
  .login-panel { padding: 36px 26px; }
  .login-heading { margin-bottom: 24px; }
  .login-form .login-field input { height: 52px; padding: 27px 11px 5px; font-size: 16px; line-height: 20px; }
  .login-password-toggle { height: 52px; }
  .login-submit { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .ubk-login *, .ubk-login *::after { transition: none; }
}
