.auth-flow-page {
  --login-green: #23845c;
  --login-forest: #073f2d;
  --login-mint: #91cfaa;
  --login-button-gradient: linear-gradient(100deg, #0a4a33, #287b54);
  --login-button-gradient-hover: linear-gradient(100deg, #083d2a, #216b49);
  min-height: 100vh;
  background: #f0f3f2;
  color: #123f31;
  font-family: 'DM Sans', Arial, sans-serif;
}

.auth-flow-page *,
.auth-flow-page *::before,
.auth-flow-page *::after {
  animation: none !important;
  transition: none !important;
}

.auth-flow-page .auth-split {
  position: relative;
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  overflow: hidden;
  background: #0a4732;
}

.auth-flow-page .auth-left {
  position: relative;
  display: flex;
  flex: 0 0 62.5%;
  width: 62.5%;
  min-width: 0;
  min-height: 100vh;
  padding: clamp(3rem, 8vh, 6rem) clamp(2rem, 7vw, 8rem);
  overflow: hidden;
  background: #0a4732;
}

.auth-flow-page .auth-left::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.25px, transparent 1.25px);
  background-size: 36px 36px;
  -webkit-mask-image: radial-gradient(ellipse 52% 42% at 32% 56%, transparent 48%, rgba(0, 0, 0, 0.25) 72%, #000 100%);
  mask-image: radial-gradient(ellipse 52% 42% at 32% 56%, transparent 48%, rgba(0, 0, 0, 0.25) 72%, #000 100%);
  content: '';
  pointer-events: none;
}

.auth-flow-page .auth-left::after,
.auth-flow-page .auth-green-art {
  display: none;
}

.auth-flow-page .auth-left-inner {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 42rem;
  margin: auto 0;
}

.auth-flow-page .auth-brand {
  position: relative;
  isolation: isolate;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: clamp(3.75rem, 9vh, 6.5rem);
}

.auth-flow-page .auth-brand::before {
  position: absolute;
  z-index: -1;
  inset: -0.75rem -1.25rem;
  background: radial-gradient(ellipse at center, #0a4732 58%, rgba(10, 71, 50, 0.9) 76%, transparent 100%);
  content: '';
  pointer-events: none;
}

.auth-flow-page .auth-brand img {
  display: block;
  width: clamp(14rem, 23vw, 23rem);
  max-width: 100%;
  height: auto;
}

.auth-flow-page .auth-suite-intro {
  position: relative;
  isolation: isolate;
  color: #fff;
}

.auth-flow-page .auth-suite-intro::after {
  position: absolute;
  z-index: -1;
  top: calc(100% + 1.25rem);
  left: 0;
  width: 100%;
  height: clamp(10rem, 26vh, 20rem);
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.25px, transparent 1.25px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 100% 125% at 10% 0%, #000 0%, rgba(0, 0, 0, 0.9) 72%, rgba(0, 0, 0, 0.4) 92%, transparent 100%);
  mask-image: radial-gradient(ellipse 100% 125% at 10% 0%, #000 0%, rgba(0, 0, 0, 0.9) 72%, rgba(0, 0, 0, 0.4) 92%, transparent 100%);
  content: '';
  pointer-events: none;
}

.auth-flow-page .auth-accent-line {
  width: 3.5rem;
  height: 3px;
  margin-bottom: 1.5rem;
  border-radius: 2px;
  background: var(--login-mint);
}

.auth-flow-page .auth-suite-title {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: #fff;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 3.4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.auth-flow-page .auth-suite-title span {
  display: block;
  color: var(--login-mint);
}

.auth-flow-page .auth-suite-title .auth-suite-title-lead {
  color: #fff;
  white-space: nowrap;
}

.auth-flow-page .auth-suite-copy {
  max-width: 38rem;
}

.auth-flow-page .auth-suite-copy p {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.7;
}

.auth-flow-page .auth-curve {
  position: absolute;
  z-index: 3;
  top: -6rem;
  left: calc(62.5% - 15rem);
  width: 38rem;
  height: calc(100% + 12rem);
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(4px 0 24px rgba(0, 0, 0, 0.06));
}

.auth-flow-page .auth-right {
  position: relative;
  z-index: 4;
  display: flex;
  flex: 1 1 37.5%;
  align-items: center;
  justify-content: center;
  width: 37.5%;
  min-width: 0;
  padding: 3rem clamp(1.5rem, 3.5vw, 3.5rem);
  border: 0;
  background: transparent;
}

.auth-flow-page .auth-card {
  position: relative;
  z-index: 4;
  box-sizing: border-box;
  width: 100%;
  max-width: 31rem;
  margin: 0 auto;
  padding: clamp(1.75rem, 2.8vw, 2.75rem);
  border: 1px solid rgba(7, 63, 45, 0.06);
  border-radius: 1.1rem;
  background: #fff;
  box-shadow:
    0 24px 48px -12px rgba(7, 63, 45, 0.08),
    0 0 0 1px rgba(7, 63, 45, 0.03);
}

.auth-flow-page .auth-card-header {
  margin-bottom: 2.15rem;
}

.auth-flow-page .auth-card-header h2 {
  margin: 0 0 0.65rem;
  color: #103f30;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.25;
  white-space: normal;
}

.auth-flow-page .auth-card-header p {
  color: #718b86;
  font-size: 0.94rem;
  line-height: 1.5;
}

.auth-flow-page .auth-form {
  gap: 1.4rem;
  margin: 0 0 1.5rem;
}

.auth-flow-page .form-group {
  gap: 0.62rem;
}

.auth-flow-page .form-group label {
  color: #214b3d;
  font-size: 0.94rem;
  font-weight: 600;
}

.auth-flow-page .form-group input {
  min-height: 3.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid #d9e4df;
  border-radius: 0.65rem;
  background: #fff;
  color: #173e32;
  font-size: 1rem;
  box-shadow: 0 1px 2px rgba(7, 63, 45, 0.03);
}

.auth-flow-page .form-group input:focus {
  border-color: var(--login-green);
  outline-color: rgba(35, 132, 92, 0.2);
  box-shadow: 0 0 0 3px rgba(35, 132, 92, 0.12);
}

.auth-flow-page .eye-toggle {
  right: 1rem;
  color: var(--login-green);
}

.auth-flow-page .btn-primary {
  min-height: 3.35rem;
  border: 0;
  border-radius: 0.65rem;
  background: var(--login-button-gradient);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(7, 63, 45, 0.13);
}

.auth-flow-page .btn-primary:hover {
  background: var(--login-button-gradient-hover);
}

.auth-flow-page .auth-footer {
  color: #718b86;
}

.auth-flow-page .auth-footer a {
  color: var(--login-green);
}

.auth-flow-page .alert-error {
  margin-bottom: 1.25rem;
}

@media (min-width: 1800px) {
  .auth-flow-page .auth-left {
    padding-right: clamp(8rem, 10vw, 15rem);
    padding-left: clamp(8rem, 12vw, 18rem);
  }
}

@media (max-width: 900px) {
  .auth-flow-page .auth-split {
    flex-direction: column;
  }

  .auth-flow-page .auth-left {
    flex: 0 0 auto;
    width: 100%;
    min-height: auto;
    padding: 2.5rem clamp(1.5rem, 7vw, 4rem);
  }

  .auth-flow-page .auth-left::before {
    display: none;
  }

  .auth-flow-page .auth-curve {
    display: none;
  }

  .auth-flow-page .auth-left-inner {
    max-width: 44rem;
    margin: 0 auto;
  }

  .auth-flow-page .auth-brand {
    margin-bottom: 2.75rem;
  }

  .auth-flow-page .auth-brand img {
    width: clamp(10rem, 34vw, 15rem);
  }

  .auth-flow-page .auth-suite-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }

  .auth-flow-page .auth-suite-title .auth-suite-title-lead {
    white-space: normal;
  }

  .auth-flow-page .auth-suite-copy {
    display: none;
  }

  .auth-flow-page .auth-suite-intro::after {
    display: none;
  }

  .auth-flow-page .auth-right {
    flex: 1 0 auto;
    width: 100%;
    padding: 3rem 1.5rem 4rem;
    background: #f0f3f2;
  }

  .auth-flow-page .auth-card {
    max-width: 34rem;
    padding: clamp(1.75rem, 5vw, 2.75rem);
  }
}

@media (max-width: 480px) {
  .auth-flow-page .auth-left {
    padding: 1.5rem 1.25rem;
  }

  .auth-flow-page .auth-brand {
    margin-bottom: 2rem;
  }

  .auth-flow-page .auth-suite-title {
    margin-bottom: 0;
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .auth-flow-page .auth-right {
    align-items: flex-start;
    padding: 2.5rem 1.25rem;
  }

  .auth-flow-page .auth-card-header {
    margin-bottom: 1.5rem;
  }
}
