.auth-login-page {
  --login-ink: #2b3d45;
  --login-muted: #58718e;
  --login-border: #e2e8f0;
  position: relative;
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--login-ink);
  color: var(--login-ink);
}

.auth-login-page::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgb(7 24 42 / 45%), rgb(7 24 42 / 14%));
  pointer-events: none;
}

.auth-login-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.auth-login-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 500px);
  gap: clamp(32px, 7vw, 120px);
  align-items: start;
  box-sizing: border-box;
  width: min(100%, 1440px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: clamp(24px, 4vh, 56px) clamp(24px, 6vw, 88px);
}

.auth-login-intro {
  max-width: 600px;
  color: #fff;
}

.auth-login-intro__eyebrow {
  margin: 0 0 1rem;
  color: #8ed8ff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-login-intro h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.08;
}

.auth-login-intro p {
  max-width: 34rem;
  margin: 1.25rem 0 0;
  color: rgb(255 255 255 / 78%);
  font-size: 18px;
  line-height: 1.5;
}

.auth-login-panels {
  display: flex;
  width: 100%;
  height: 100%;
  min-width: 0;
  justify-content: end;
  align-items: center;
  gap: 20px;
}

.auth-login-page--b2b .auth-login-shell {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 5vw, 72px);
}

/* .auth-login-page--b2b .auth-login-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
} */

.auth-login-card {
  width: 100%;
  max-width: 500px;
  min-width: 0;
  max-height: 640px;
  overflow: hidden;
  color: var(--login-ink);
  background: rgb(246 249 251 / 88%);
  border: 1px solid rgb(255 255 255 / 58%);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgb(2 21 29 / 16%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.auth-login-card__body {
  padding: clamp(22px, 3vw, 34px);
}

.auth-login-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.auth-login-card__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 50px;
  object-fit: contain;
}

.auth-login-card__heading {
  margin: 0 0 1.25rem;
  color: var(--login-ink);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.auth-login-card__subheading {
  margin: -0.7rem 0 1.35rem;
  color: var(--login-muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.auth-login-card label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--login-ink);
  font-size: 14px;
  font-weight: 500;
}

.auth-login-field {
  margin-bottom: 1rem;
}

.auth-login-input {
  position: relative;
}

.auth-login-input > i {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 1;
  color: var(--login-muted);
  font-size: 17px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}

.auth-login-card .form-control {
  min-height: 42px;
  padding: 0.625rem 0.75rem;
  color: var(--login-ink);
  background: rgb(255 255 255 / 88%);
  border: 1px solid var(--login-border);
  border-radius: 7px;
  font-size: 14px;
  line-height: 1.4;
}

.auth-login-input > .form-control {
  padding-left: 42px;
}

.auth-login-card .form-control::placeholder {
  color: #7b91ad;
  opacity: 1;
}

.auth-login-card .form-control:hover:not(:disabled):not([readonly]) {
  border-color: #b9c5cf;
}

.auth-login-card .form-control:focus {
  background: #fff;
  border-color: var(--login-ink);
  box-shadow: 0 0 0 3px rgb(43 61 69 / 12%);
  outline: 0;
}

.auth-login-card .form-control.is-invalid,
.auth-login-card .form-control[aria-invalid="true"] {
  border-color: #ef4444;
}

.auth-login-card textarea.form-control {
  min-height: 92px;
}

.auth-login-card .alert {
  margin-bottom: 1rem;
  border-radius: 7px;
  font-size: 14px;
}

.auth-login-submit {
  display: inline-flex;
  width: 100%;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.625rem 0.8rem;
  color: #fff;
  background: var(--login-ink);
  border: 1px solid var(--login-ink);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.auth-login-submit:hover,
.auth-login-submit:focus {
  color: #fff;
  background: #385765;
  border-color: #385765;
  box-shadow: 0 0 0 3px rgb(43 61 69 / 12%);
}

.auth-login-submit i {
  font-size: 17px;
  line-height: 1;
}

.auth-login-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.auth-login-contact-group {
  margin-top: 1rem;
}

.auth-login-contact-heading {
  margin: 0 0 0.55rem;
  color: var(--login-ink);
  font-size: 14px;
  font-weight: 600;
}

.auth-login-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  color: var(--login-muted);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.auth-login-contact:hover {
  color: var(--login-ink);
}

.auth-login-contact i,
.auth-login-contact img {
  width: 20px;
  flex: 0 0 20px;
  text-align: center;
}

.auth-login-contact img {
  height: 14px;
  object-fit: contain;
}

.auth-login-contact span:last-child {
  margin-left: 0;
  white-space: nowrap;
}

.auth-login-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--login-muted);
  font-size: 14px;
}

.auth-login-check input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--login-ink);
  border: 1px solid rgb(43 61 69 / 12%);
}

.auth-login-check label {
  margin: 0;
  color: inherit;
  font-size: inherit;
}

.auth-login-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.35rem;
  padding-top: 1rem;
  color: var(--login-muted);
  border-top: 1px solid rgb(43 61 69 / 12%);
  font-size: 14px;
  text-decoration: none;
}

.auth-login-footer:hover {
  color: var(--login-ink);
}

.auth-login-footer__logo {
  display: block;
  width: auto;
  max-width: 150px;
  height: auto;
}

.auth-login-footer__logo--small {
  max-width: 50px;
}

.auth-login-application .auth-login-card__body {
  padding-top: 1.5rem;
}

.auth-login-application .auth-login-card__heading {
  margin-bottom: 1.35rem;
}

.auth-login-application .g-recaptcha {
  max-width: 100%;
  overflow: hidden;
}

@media (max-width: 1199.98px) {
  .auth-login-page--b2b .auth-login-card {
    max-width: 500px;
  }
}

@media (max-width: 991.98px) {
  .auth-login-shell {
    grid-template-columns: minmax(0, 1fr);
    max-width: 680px;
    gap: 2rem;
    justify-items: center;
    padding: clamp(24px, 4vh, 48px) 24px;
  }

  .auth-login-intro {
    max-width: 500px;
    text-align: center;
  }

  .auth-login-panels {
    max-width: 500px;
  }

  .auth-login-page--b2b .auth-login-shell {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767.98px) {
  .auth-login-page {
    background: var(--login-ink);
  }

  .auth-login-page::after {
    background: none;
  }

  .auth-login-background {
    display: none;
  }

  .auth-login-shell {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    gap: 1.5rem;
    padding: 32px 16px;
  }

  .auth-login-intro {
    display: none;
  }

  .auth-login-card__body {
    padding: 22px 18px;
  }

  .auth-login-card__logo {
    margin-bottom: 1.25rem;
  }

  .auth-login-card__heading {
    font-size: 20px;
  }

  .auth-login-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-login-contacts {
    display: grid;
  }
}
