html, body {
  height: 100%;
}

.login_page_new_ui {
  display: flex;
  font-weight: 400;
  height: 100%;
  font-family: 'Hellix', sans-serif;
  background-color: var(--color-neutral-background-bold);
  color: var(--color-neutral-content);
}

.login_page_new_ui .left {
  flex: 1;
  /* Light tech background with design feel */
  background: linear-gradient(135deg, #E0F2FE 0%, #E0E7FF 50%, #FAE8FF 100%);
  height: 100%;
  position: relative;
  overflow: hidden;
  display: block; /* Layout handled by content-wrapper */
}

/* Remove old background image */
.login_page_new_ui .left:after {
  display: none;
}

/* Content wrapper for centering */
.login_page_new_ui .left .content-wrapper {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #1e293b;
}

/* Animation background container */
.login_page_new_ui .left .anim-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Animated shapes */
.anim-background .shape {
  position: absolute;
  border: 2px solid rgba(37, 99, 235, 0.4); /* Darker blue border */
  background: rgba(37, 99, 235, 0.03);
  border-radius: 4px;
  opacity: 0;
  box-shadow: 0 0 15px rgba(37, 99, 235, 0.05);
}

/* Corner accents for shapes */
.anim-background .shape::before,
.anim-background .shape::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: rgba(37, 99, 235, 0.8); /* Darker blue accents */
  border-style: solid;
  transition: all 0.3s ease;
}

.anim-background .shape::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.anim-background .shape::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

/* Shape definitions */
.anim-background .shape-1 {
  top: 20%;
  left: 15%;
  width: 120px;
  height: 80px;
  animation: float-label 8s infinite ease-in-out;
}

.anim-background .shape-2 {
  top: 60%;
  left: 70%;
  width: 180px;
  height: 120px;
  animation: float-label 10s infinite ease-in-out 1s;
  border-color: rgba(147, 51, 234, 0.4); /* Darker purple */
  background: rgba(147, 51, 234, 0.03);
}
.anim-background .shape-2::before { border-color: rgba(147, 51, 234, 0.8); }
.anim-background .shape-2::after { border-color: rgba(147, 51, 234, 0.8); }

.anim-background .shape-3 {
  top: 40%;
  left: 50%;
  width: 100px;
  height: 100px;
  animation: float-label 9s infinite ease-in-out 2s;
  border-color: rgba(219, 39, 119, 0.4); /* Darker pink */
  background: rgba(219, 39, 119, 0.03);
}
.anim-background .shape-3::before { border-color: rgba(219, 39, 119, 0.8); }
.anim-background .shape-3::after { border-color: rgba(219, 39, 119, 0.8); }

.anim-background .shape-4 {
  bottom: 15%;
  left: 20%;
  width: 150px;
  height: 90px;
  animation: float-label 11s infinite ease-in-out 0.5s;
  border-color: rgba(5, 150, 105, 0.4); /* Emerald green for variety */
  background: rgba(5, 150, 105, 0.03);
}
.anim-background .shape-4::before { border-color: rgba(5, 150, 105, 0.8); }
.anim-background .shape-4::after { border-color: rgba(5, 150, 105, 0.8); }

@keyframes float-label {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  20% { opacity: 1; }
  50% { transform: translate(20px, -20px) scale(1.05); opacity: 0.8; }
  80% { opacity: 1; }
  100% { transform: translate(0, 0) scale(1); opacity: 0; }
}

.login_page_new_ui .ls-logo {
  width: 414px;
  height: 64px;
  color: var(--color-neutral-content);
}

.login_page_new_ui .hs-logo {
  width: 152px;
  height: 22px;
  color: var(--color-neutral-content);
}

.login_page_new_ui .left h2 {
  display: none;
}

.login_page_new_ui .left h3 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  margin: 0;
  color: #1e293b; /* Dark text */
  letter-spacing: 2px;
  text-shadow: none;
}

.login_page_new_ui .left .by {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: rgba(30, 41, 59, 0.6); /* Semi-transparent dark text */
  letter-spacing: 1px;
}

.login_page_new_ui .left img {
  color: #1e293b;
}

.login_page_new_ui .tips {
  max-width: 520px;
  border-radius: 8px;
  border: 1px solid var(--color-neutral-border);
  background: var(--color-neutral-surface);
  box-shadow: 0 2px 6px 0 rgb(var(--color-neutral-shadow) / 20%);
  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;
  fill: var(--color-neutral-border);
  background: url("../images/heidi-tip.a3eb1a2b1779.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(--color-primary-content);
  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(--color-neutral-border);
  border-top: 2px solid transparent;
  transition: all 150ms ease-out;
}
.login_page_new_ui .toggle > *.active {
  border-color: var(--color-primary-surface); 
  color: var(--color-primary-content);
}
.login_page_new_ui .toggle > *:hover {
  color: var(--color-primary-surface-hover);
  border-color: var(--color-primary-surface-hover);
}
.form-wrapper{
  position: relative;
  background: var(--color-neutral-surface);
  margin-top: 1.5rem;
  border: 1px solid var(--color-neutral-border);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0px 0px 12px rgba(23, 20, 13, 0.16);
  width: 22rem;
}

.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: grid;
  flex-direction: column;
  grid-auto-flow: rows;
  grid-gap: 1rem;
}
.login_page_new_ui form > * {
  position: relative;
}
.login_page_new_ui form p {
  margin: 0;
}
.login_page_new_ui form .error {
  color: var(--color-negative-content);
  font-size: .875rem;
}
.login_page_new_ui form input,
.login_page_new_ui form button,
.login_page_new_ui form select {
  width: 100%;
  font-family: 'Hellix', sans-serif;
}

.login_page_new_ui form .lsf-button-ls.lsf-button-ls_look_primary {
  --button-color: var(--color-neutral-inverted-content);
  border-radius: 4rem;
  background: var(--color-neutral-inverted-surface);
  color: #fff;
  font-size: 20px;
  padding: 6px;
  cursor: pointer;
}

.login_page_new_ui .field_errors {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: .875rem;
  line-height: 16px;
  color: var(--color-negative-content);
}
.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(--color-neutral-surface);
  font-size: 1rem;
  line-height: 22px;
  border: 1px solid var(--color-neutral-border);
  box-sizing: border-box;
  border-radius: 5px;
  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: .825rem !important;
  margin-bottom: .2rem;
  font-family: 'Hellix', sans-serif !important;
  font-weight: 500;
}

label{
  font-family: 'Hellix', sans-serif !important;
  font-weight: 500;
  font-size: .825rem !important;
  margin-bottom: .2rem;
  display: block;
}

.form-group {
  display: block;
  margin-bottom: .5rem;
}

.form-group input {
  padding: 0;
  height: initial;
  width: initial;
  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: 10px;
  border-radius: 4px;
  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: 2px;
  left: 8px;
  width: 5px;
  height: 10px;
  border: solid var(--color-primary-surface-content);
  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;
}