#auth-screen {
  padding: 28px 18px;
  background: #f8f8f8;
}

#auth-screen > .auth-card {
  width: min(100%, 600px);
  padding: 38px 40px 30px;
  border: 1px solid #ebebeb;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

.auth-card-heading {
  margin-bottom: 32px;
}

.auth-card-heading .auth-theme-toggle {
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  border: 1px solid #a0bcac !important;
  border-radius: 50%;
  background: #fff !important;
  color: #666 !important;
}

.auth-card-heading .auth-theme-toggle:hover {
  border-color: #a0bcac !important;
  background: #eef7f1 !important;
  color: #0f4f2a !important;
}

#auth-screen .auth-slogan {
  margin-bottom: 24px;
}

#auth-screen .auth-slogan-eyebrow {
  margin: 0 0 8px;
  color: #747474;
  font-size: 12px !important;
  letter-spacing: 0.12em;
}

#auth-screen .auth-slogan-title {
  margin: 0;
  color: #0d0d0e;
  font-size: 30px !important;
  line-height: 1.12 !important;
  letter-spacing: -1.2px;
}

#auth-screen .auth-slogan-title span {
  color: #098e4d;
}

body[data-theme="dark"] #auth-screen .auth-slogan-eyebrow {
  color: #b2bdb6;
}

body[data-theme="dark"] #auth-screen .auth-slogan-title {
  color: #e1ebe6;
}

body[data-theme="dark"] #auth-screen .auth-slogan-title span {
  color: #71c99d;
}

#auth-screen .auth-tabs {
  gap: 4px;
  margin-bottom: 24px;
  border: 0;
  border-radius: 8px;
  padding: 4px;
  background: #f3f5f3;
}

#auth-screen .auth-tabs .auth-tab {
  min-height: 36px;
  border: 0;
  border-radius: 6px;
  background: transparent !important;
  color: #707772 !important;
  font-size: 12px !important;
}

#auth-screen .auth-tabs .auth-tab.active {
  background: #fff !important;
  color: #0f4f2a !important;
  box-shadow: 0 1px 4px #17211b12;
}

#auth-screen .auth-form {
  gap: 15px;
}

#auth-screen .auth-form h1 {
  margin: 0 0 12px;
  color: #0d0d0e;
  font-size: 30px !important;
  font-weight: 600;
  line-height: 1.12 !important;
  letter-spacing: -1.2px;
}

#auth-screen .auth-form > p {
  margin: 0;
  color: #747474;
  font-size: 13px !important;
  line-height: 1.65 !important;
}

#auth-screen .list-field {
  gap: 7px;
  color: #3f3f3f;
  font-size: 12px !important;
  font-weight: 600;
}

#auth-screen .list-field input,
#auth-screen .list-field select {
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid #e3e3e3;
  border-radius: 7px;
  outline: none;
  background: #fff;
  color: #0d0d0e;
  font-size: 13px !important;
}

#auth-screen .list-field input:focus,
#auth-screen .list-field select:focus {
  border-color: #098e4d;
  box-shadow: 0 0 0 3px #098e4d14;
}

#auth-screen .password-toggle {
  right: 7px;
  width: 32px;
  height: 32px;
  border-radius: 5px;
  background: transparent !important;
  color: #818a84 !important;
}

#auth-screen .password-toggle:hover {
  background: #f1f5f2 !important;
  color: #0f4f2a !important;
}

#auth-screen .login-options {
  gap: 12px;
  margin-top: -3px;
}

#auth-screen .cfo-module-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 6px;
  border: 1px dashed var(--line, #c9c9cc);
  border-radius: 7px;
  padding: 10px 15px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

#auth-screen .cfo-module-link small {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.75;
}

#auth-screen .cfo-module-link:hover,
#auth-screen .cfo-module-link:focus-visible {
  border-style: solid;
}

#auth-screen .remember-me,
#auth-screen #forgot-password-link {
  font-size: 11px !important;
}

#auth-screen .auth-form > .primary-button {
  justify-content: space-between;
  min-height: 42px;
  margin-top: 3px;
  border: 1px solid #0d0d0e;
  border-radius: 7px;
  padding: 10px 15px;
  background: #0d0d0e !important;
  color: #fff !important;
  border-color: #0d0d0e !important;
  font-size: 15px !important;
}

#auth-screen .auth-form > .primary-button:hover:not(:disabled) {
  border-color: #0f4f2a !important;
  background: #0f4f2a !important;
  color: #fff !important;
}

#auth-screen .auth-terms-consent {
  font-size: 11px !important;
}

body[data-theme="dark"] #auth-screen {
  background: radial-gradient(circle at 50% 0%, #20392d, transparent 48%), var(--canvas);
}

body[data-theme="dark"] #auth-screen > .auth-card {
  border-color: #344740;
  background: #19241f;
}

body[data-theme="dark"] #auth-screen .auth-form h1 {
  color: #e1ebe6;
}

body[data-theme="dark"] #auth-screen .auth-form > p {
  color: #b5c2bb;
}

body[data-theme="dark"] #auth-screen .auth-tabs {
  background: #101713;
}

body[data-theme="dark"] #auth-screen .auth-tabs .auth-tab {
  color: #aab6ae !important;
}

body[data-theme="dark"] #auth-screen .auth-tabs .auth-tab.active {
  background: #26352b !important;
  color: #b8e6ca !important;
}

body[data-theme="dark"] #auth-screen .list-field {
  color: #c7d0ca;
}

body[data-theme="dark"] #auth-screen .list-field input,
body[data-theme="dark"] #auth-screen .list-field select {
  border-color: #344740;
  background: #101713;
  color: #e1ebe6;
}

body[data-theme="dark"] #auth-screen .auth-form > .primary-button {
  border-color: #4c9778 !important;
  background: #4c9778 !important;
  color: #07130d !important;
}

body[data-theme="dark"] #auth-screen .auth-form > .primary-button:hover:not(:disabled) {
  border-color: #71c99d !important;
  background: #71c99d !important;
  color: #07130d !important;
}

body[data-theme="dark"] .auth-card-heading .auth-theme-toggle {
  border-color: #527b61 !important;
  background: #18211b !important;
  color: #c8d1cb !important;
}

@media (max-width: 640px) {
  #auth-screen {
    padding: 24px 14px;
  }

  #auth-screen > .auth-card {
    padding: 28px 22px 24px;
  }

  .auth-card-heading {
    margin-bottom: 24px;
  }

  #auth-screen .auth-tabs {
    margin-bottom: 22px;
  }

  #auth-screen .auth-form h1 {
    font-size: 28px !important;
  }
}

.auth-brand-row { display: flex; align-items: center; gap: 14px; }
.auth-module-divider { width: 1px; height: 34px; background: #c3cbc6; }
.auth-module-name { color: #4c9778; font: 700 22px/1 Georgia, 'Times New Roman', serif !important; letter-spacing: -.02em; }
body[data-theme="dark"] .auth-module-divider { background: #526159; }
body[data-theme="dark"] .auth-module-name { color: #71c99d; }

.auth-card .auth-brand-row .auth-module-name { color: #4c9778 !important; font-family: Georgia, 'Times New Roman', serif !important; font-size: 22px !important; font-weight: 700 !important; line-height: 1 !important; letter-spacing: -.02em !important; }
body[data-theme="dark"] .auth-card .auth-brand-row .auth-module-name { color: #71c99d !important; }
