html, body {
  height: 100%;
  overflow: hidden;
    margin: 0;
}

.login_page_new_ui {
    display: flex;
    font-weight: 400;
    height: 100%;
    font-family: 'Hellix', sans-serif;
    overflow: hidden;
    background: url("../images/login-bg.png") no-repeat center center;
    background-size: cover;
    color-scheme: light;
    --login-card-bg: #FFF;
    --login-card-border: #E5E7EB;
    --login-input-bg: #FFF;
    --login-input-border: #E5E7EB;
    --login-input-text: #1F2937;
    --login-label-text: #6B7280;
    --login-muted-text: #6B7280;
}
.login_page_new_ui .left {
  flex: 1;
  background: linear-gradient(109.47deg, rgba(255, 166, 99, 0.15) 0%, rgba(255, 117, 87, 0.15) 51.56%, rgba(227, 123, 211, 0.15) 100%);
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.login_page_new_ui .left:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 179px;
  height: 239px;
  background: url('../images/login-bg.svg') no-repeat center center;
  background-size: contain;
}

.login_page_new_ui .top-box {
    display: flex;
    align-items: center;
}

.login_page_new_ui .top-box .logo-box {
    /* width: 101.8px;
    height: 44px; */
    width: 8.75rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login_page_new_ui .top-box .brand-logo {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

.login_page_new_ui .top-box .brand-logo--dark {
    display: none;
}
.login_page_new_ui .top-box .line-split {
    height: 100%;
    margin: 0 1rem;
}

.login_page_new_ui .login {
    display: inline-block;
    color: #1F2937;
    /* font-size: 24px; */
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    margin-top: 1.25rem;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-family: Geologica;
}
.login_page_new_ui .top-box .title{
    display: flex;
    flex-direction: column;
    align-items: start;
}
.login_page_new_ui .top-box .title span:first-child {
    color: #1F2937;
    text-align: left;
    font-size: 20px;
    font-style: italic;
    font-weight: 500;
    line-height: 24px;
}

.login_page_new_ui .top-box .title span:last-child {
    color: #6B7280;
    text-align: left;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
}

.login_page_new_ui .top-box .line-split {
    background: #E5E6EB;
    width: 1px;
    height: 32px;
}

.login_page_new_ui .left h2 {
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0em;
  text-align: center;
  margin: 0;
}

.login_page_new_ui .left h3 {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  margin: 8px 0 0 0;
}

.login_page_new_ui .left .logo_humansignal{
  position: absolute;
  bottom: 60px;
  left: 60px;
  display: flex;
  flex-direction: column;
  font-size: .75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

.login_page_new_ui .tips {
  max-width: 520px;
  border-radius: 2px;
  border: 1px solid var(--sand_300);
  background: var(--sand_0);
  box-shadow: 0 2px 6px 0 var(--sand_300);
  padding: 16px;
  margin:18vh 60px 0 60px;
  position: relative;
  z-index:3;
}

.login_page_new_ui .tips:after {
  content: '';
  width: 115px;
  height: 83px;
  position: absolute;
  bottom: -72px;
  left: 16px;
  background: url('../images/heidi-tip.svg') no-repeat center center;
}

.login_page_new_ui .tips .title {
  font-size: 16px;
  font-style: normal;
  font-weight: bold;
  line-height: 24px; 
  letter-spacing: 0.15px;
  margin-bottom: 8px;
}

.login_page_new_ui .tips .description {
  font-size: .875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.25px;
}

.login_page_new_ui .tips .description a {
  color: var(--primary_link);
  font-size: .875rem;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
  text-decoration: underline;
}

.login_page_new_ui .tips .description a:hover {
  text-decoration: none;
}

.login_page_new_ui .right {
  display: flex;
  flex-direction: column;
  flex: 1;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.login_page_new_ui .toggle {
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: stretch;
}

.login_page_new_ui .toggle > * {
  flex-grow: 1;
  text-align: center;
  padding: .75rem 0;
  font-size: 1rem;
  color: var(--sand_500);
  border-top: 2px solid transparent;
}
.login_page_new_ui .toggle > *.active {
  border-color: var(--primary_link); 
  color: var(--primary_link);
}
.login_page_new_ui .toggle > *:hover {
  color: var(--grape_700);
  border-color: var(--grape_700);
}

.form-wrapper {
    position: relative;
    border-radius: 2px;
    border: 1px solid var(--login-card-border);
    background: var(--login-card-bg);
    box-shadow: 0 10px 70px 0 rgba(0, 0, 0, 0.08);
    padding: 2rem;
    box-sizing: border-box;
    width: 30rem;
    max-width: calc(100vw - 2rem);
}

.form-wrapper h2{
  font-size: 2rem;
  font-weight: 500;
  margin: 0 0 1rem 0;
  width: 100;
  text-align: center;
}

.login_page_new_ui form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.login_page_new_ui form > * {
  position: relative;
}
.login_page_new_ui form p {
  margin: 0;
}
.login_page_new_ui form .error {
  color: var(--red_7);
  font-size: .875rem;
}
.login_page_new_ui form input,
.login_page_new_ui form button {
  width: 100%;
  font-family: 'Hellix', sans-serif;
}

.login_page_new_ui form button {
    border-radius: .125rem;
    background: var(--brand-primary, #23A96C);
    cursor: pointer;
    color: white;
    border: 0;
    height: 2.875rem;
    width: 100%;
    text-align: center;
    font-size: .9375rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.125rem;
}
.login_page_new_ui form button:hover {
  background: var(--brand-primary-hover, #1F945F);
}

.login_page_new_ui .field_errors {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: .875rem;
  line-height: 16px;
  color: var(--red_7);
}
.login_page_new_ui .field_errors li {
  margin-top: .25rem;
}

.auto-generated form {
  width: 100%;
}
.auto-generated form label {
  display: block;
}
.auto-generated form input {
  height: 40px;
  min-height: 40px;
  background: var(--sand_0);
  font-size: 1rem;
  line-height: 22px;
  border: 1px solid var(--sand_300);
  box-sizing: border-box;
  border-radius: 2px;
  padding: 0 16px;
  transition: box-shadow 80ms ease;
}

.auto-generated p:empty {
  display: none;
}
.auto-generated form ul li:not(:last-child) {
  margin-bottom: 0.5em;
}
.auto-generated form ul {
  margin-bottom: 0;
}

.input-wrapper label {
    font-size: .875rem !important;
    margin-bottom: .5rem;
    color: var(--login-input-text) !important;
    font-style: normal;
    font-weight: 400;
    line-height: 1.25rem;
    font-family: Geologica !important;
}

.login_page_new_ui .input-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.input-shell {
    width: 100%;
    border: 1px solid var(--login-input-border);
    box-sizing: border-box;
    border-radius: 0.125rem;
    background: var(--login-input-bg) !important;
    color-scheme: light;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--login-input-border);
    -webkit-box-shadow: inset 0 0 0 1px var(--login-input-border);
    transition: box-shadow 120ms ease, border-color 120ms ease;
}

.input-wrapper:focus-within .input-shell {
    border-color: var(--brand-primary, #23A96C) !important;
    box-shadow: inset 0 0 0 1px var(--brand-primary, #23A96C) !important;
    -webkit-box-shadow: inset 0 0 0 1px var(--brand-primary, #23A96C) !important;
}

.input-shell input {
    height: 2.875rem;
    min-height: 2.875rem;
    width: 100%;
    display: block;
    background: var(--login-input-bg) !important;
    background-image: none !important;
    font-size: 1rem;
    line-height: 1.125;
    border: 0 !important;
    box-sizing: border-box;
    border-radius: 0;
    padding: 0.875rem 1rem;
    font-weight: 400;
    color: var(--login-input-text);
    -webkit-appearance: none;
    appearance: none;
    background-clip: padding-box;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    outline: 0 !important;
    outline-offset: 0 !important;
    filter: none;
}

.input-shell input:focus,
.input-shell input:focus-visible {
    outline: 0 !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

label {
    font-family: 'Hellix', sans-serif !important;
    font-weight: 500;
    font-size: .875rem !important;
    margin-bottom: .5rem;
    color: var(--login-muted-text) !important;
    display: block;
}

.form-group {
  display: block;
  margin-bottom: .5rem;
}

.form-group input {
  padding: 0;
  height: .875rem;
  width: .875rem;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}

.form-group label {
  position: relative;
  cursor: pointer;
  font-size: .875rem;
}

.form-group label a{
  font-family: 'Hellix', sans-serif !important;
  font-weight: 500;
}

.form-group label:before {
  content:'';
  -webkit-appearance: none;
  background-color: transparent;
  border: 1px solid #CAC5B8;
  padding: .4rem;
  border-radius: 2px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 5px;
  top: -1px;
}

.form-group input:checked + label:before {
  background: var(--primary_link);
  border: 1px solid var(--primary_link);
}

.form-group input:checked + label:after {
  content: '';
  display: block;
  position: absolute;
  top: 1px;
  left: 4px;
  width: 5px;
  height: 10px;
  border: solid var(--sand_0);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.text-wrapper{
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .875rem;
}

.text-wrapper a{
  color: var(--primary_link);
  text-decoration: underline;
  font-weight: 500;
}

.text-wrapper a:hover{
  text-decoration: none;
}

html.dark-theme,
body.dark-theme {
    background: #111413;
    color: #F7F7F9;
}

html.dark-theme .login_page_new_ui,
body.dark-theme .login_page_new_ui {
    background: url("../images/login-bg.png") no-repeat center center;
    background-size: cover;
    color-scheme: light;
    --login-card-bg: #1F2221;
    --login-card-border: #3E4140;
    --login-input-bg: #171B19;
    --login-input-border: #3E4140;
    --login-input-text: #F7F7F9;
    --login-label-text: rgba(247, 247, 249, 0.68);
    --login-muted-text: rgba(247, 247, 249, 0.68);
}

html.dark-theme .form-wrapper,
body.dark-theme .form-wrapper {
    border-color: #3E4140;
    background: #1F2221;
    box-shadow: 0 18px 70px rgba(0, 0, 0, 0.42);
}

html.dark-theme .login_page_new_ui .login,
body.dark-theme .login_page_new_ui .login,
html.dark-theme .login_page_new_ui .top-box .title span:first-child,
body.dark-theme .login_page_new_ui .top-box .title span:first-child,
html.dark-theme .input-wrapper label,
body.dark-theme .input-wrapper label {
    color: #F7F7F9 !important;
}

html.dark-theme .login_page_new_ui .top-box .title span:last-child,
body.dark-theme .login_page_new_ui .top-box .title span:last-child,
html.dark-theme label,
body.dark-theme label,
html.dark-theme .text-wrapper,
body.dark-theme .text-wrapper {
    color: rgba(247, 247, 249, 0.68) !important;
}

html.dark-theme .login_page_new_ui .top-box .line-split,
body.dark-theme .login_page_new_ui .top-box .line-split {
    background: #3E4140;
}

html.dark-theme .login_page_new_ui .top-box .brand-logo--light,
body.dark-theme .login_page_new_ui .top-box .brand-logo--light {
    display: none;
}

html.dark-theme .login_page_new_ui .top-box .brand-logo--dark,
body.dark-theme .login_page_new_ui .top-box .brand-logo--dark {
    display: block;
}

html.dark-theme .input-shell,
body.dark-theme .input-shell,
html.dark-theme .auto-generated form input,
body.dark-theme .auto-generated form input {
    background: var(--login-input-bg) !important;
    border-color: var(--login-input-border);
    color: var(--login-input-text);
    box-shadow: inset 0 0 0 1px var(--login-input-border) !important;
    -webkit-box-shadow: inset 0 0 0 1px var(--login-input-border) !important;
}

html.dark-theme .input-wrapper:focus-within .input-shell,
body.dark-theme .input-wrapper:focus-within .input-shell {
    outline: 0 !important;
    outline-offset: 0 !important;
    border-color: var(--brand-primary, #23A96C) !important;
    box-shadow: inset 0 0 0 1px var(--brand-primary, #23A96C) !important;
    -webkit-box-shadow: inset 0 0 0 1px var(--brand-primary, #23A96C) !important;
}

html.dark-theme .input-shell input::placeholder,
body.dark-theme .input-shell input::placeholder {
    color: rgba(247, 247, 249, 0.38) !important;
}

.login_page_new_ui .input-shell input:-webkit-autofill,
.login_page_new_ui .input-shell input:-webkit-autofill:hover,
.login_page_new_ui .input-shell input:-webkit-autofill:focus,
.login_page_new_ui .input-shell input:-webkit-autofill:active {
    background-color: var(--login-input-bg) !important;
    background-image: none !important;
    -webkit-box-shadow: 0 0 0 1000px var(--login-input-bg) inset !important;
    box-shadow: 0 0 0 1000px var(--login-input-bg) inset !important;
    -webkit-text-fill-color: var(--login-input-text) !important;
    caret-color: var(--login-input-text) !important;
    transition: background-color 9999s ease-out 0s;
}

.login_page_new_ui .input-shell input:-webkit-autofill::first-line {
    color: var(--login-input-text);
}

html.dark-theme .form-group label:before,
body.dark-theme .form-group label:before {
    border-color: #3E4140;
    background: rgba(255, 255, 255, 0.04);
}
