.customer-login-body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    url("/_content/InZero.WebUi/isomorphic/assets/images/public/auth/customer-login-waves.svg") left -88px top -72px / min(46vw, 660px) auto no-repeat,
    url("/_content/InZero.WebUi/isomorphic/assets/images/public/auth/customer-login-waves.svg") right -130px bottom 96px / min(42vw, 600px) auto no-repeat,
    #ffffff;
  color: #1f2a44;
}

.customer-login-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: stretch center;
  padding: clamp(42px, 7vh, 82px) 18px 46px;
}

.customer-login-shell {
  width: min(100%, 672px);
  min-height: calc(100dvh - clamp(88px, 12vh, 128px));
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  justify-items: center;
}

.customer-login-brand {
  display: grid;
  justify-items: center;
  gap: 12px;
  margin-bottom: clamp(30px, 4.5vh, 42px);
  text-align: center;
}

.customer-login-brand img {
  width: min(282px, 66vw);
  height: 188px;
  object-fit: contain;
  object-position: center;
}

.customer-login-brand p {
  color: #59627f;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 500;
}

.customer-login-card {
  width: min(672px, calc(100vw - 32px));
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 38px rgba(15, 23, 74, .09);
  padding: 42px 44px 46px;
  backdrop-filter: blur(2px);
}

.customer-login-card h1 {
  color: #0f174a;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
}

.customer-login-card-copy {
  max-width: 430px;
  margin: 14px auto 38px;
  color: #59627f;
  font-size: 18px;
  line-height: 1.55;
  text-align: center;
}

.customer-login-form {
  display: grid;
  gap: 22px;
}

.customer-login-input-shell {
  position: relative;
  display: grid;
  align-items: center;
}

.customer-login-input-shell .customer-login-input {
  height: 64px;
  border-color: #d8e0ec;
  border-radius: 10px;
  padding: 0 58px 0 64px;
  color: #0f174a;
  font-size: 17px;
  font-weight: 500;
  background: #ffffff;
}

.customer-login-input::placeholder {
  color: #8a93ad;
  opacity: 1;
}

.customer-login-input:focus {
  border-color: #005bff;
  box-shadow: 0 0 0 3px rgba(0, 91, 255, .1);
}

.customer-login-field-icon {
  position: absolute;
  left: 22px;
  z-index: 1;
  width: 25px;
  height: 25px;
  color: #66708c;
  fill: currentColor;
  stroke: none;
}

.customer-login-password-toggle {
  position: absolute;
  right: 17px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #66708c;
}

.customer-login-password-toggle:hover,
.customer-login-password-toggle.is-visible {
  background: #f4f7fb;
  color: #0f174a;
}

.customer-login-password-toggle:focus-visible {
  outline: 3px solid rgba(0, 91, 255, .22);
  outline-offset: 2px;
}

.customer-login-eye {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: none;
}

.customer-login-forgot {
  justify-self: end;
  margin-top: -4px;
  color: #005bff;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
}

.customer-login-forgot:hover {
  color: #004be0;
}

.customer-login-submit {
  width: 100%;
  min-height: 58px;
  margin-top: 2px;
  border-radius: 8px;
  background: #005bff;
  border-color: #005bff;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(0, 91, 255, .16);
}

.customer-login-submit:hover {
  background: #004be0;
  border-color: #004be0;
}

.customer-login-footer {
  align-self: end;
  margin-top: 44px;
  color: #59627f;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 500;
  text-align: center;
}

.customer-login-card .ui-alert,
.customer-login-card .ui-success,
.customer-login-card .ui-empty {
  margin: -14px 0 24px;
}

@media (max-width: 900px) {
  .customer-login-body {
    background:
      url("/_content/InZero.WebUi/isomorphic/assets/images/public/auth/customer-login-waves.svg") left -150px top -60px / 520px auto no-repeat,
      url("/_content/InZero.WebUi/isomorphic/assets/images/public/auth/customer-login-waves.svg") right -190px bottom 40px / 480px auto no-repeat,
      #ffffff;
  }

  .customer-login-page {
    padding-top: 34px;
  }

  .customer-login-shell {
    min-height: calc(100dvh - 80px);
  }

  .customer-login-brand img {
    width: min(240px, 64vw);
    height: 158px;
  }

  .customer-login-card {
    padding: 34px 28px 36px;
  }
}

@media (max-width: 767px) {
  .customer-login-page {
    padding: 24px 14px 28px;
  }

  .customer-login-brand {
    margin-bottom: 24px;
  }

  .customer-login-brand img {
    width: min(220px, 68vw);
    height: 142px;
  }

  .customer-login-brand p {
    max-width: 290px;
    font-size: 15px;
  }

  .customer-login-card {
    width: calc(100vw - 28px);
    border-radius: 18px;
    padding: 28px 20px 30px;
  }

  .customer-login-card h1 {
    font-size: 27px;
  }

  .customer-login-card-copy {
    margin-bottom: 30px;
    font-size: 16px;
  }

  .customer-login-form {
    gap: 18px;
  }

  .customer-login-input-shell .customer-login-input {
    height: 58px;
    padding-left: 56px;
    font-size: 16px;
  }

  .customer-login-field-icon {
    left: 20px;
    width: 23px;
    height: 23px;
  }

  .customer-login-submit {
    min-height: 54px;
  }

  .customer-login-footer {
    margin-top: 30px;
    font-size: 14px;
  }
}

@media (max-width: 430px) {
  .customer-login-brand img {
    width: min(204px, 72vw);
    height: 132px;
  }

  .customer-login-card {
    padding-inline: 18px;
  }
}
.login-language-selector {
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 20;
}

.login-language-selector .c-language-trigger {
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .12);
}

.login-language-selector .c-language {
    position: relative;
    color: #14213d;
    font: 600 13px/1.2 Inter, system-ui, sans-serif;
}

.login-language-selector .c-language-trigger {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: 12px;
    cursor: pointer;
    list-style: none;
}

.login-language-selector .c-language-trigger::-webkit-details-marker {
    display: none;
}

.login-language-selector .c-language-trigger img,
.login-language-selector .c-language-menu img {
    width: 22px;
    height: 15px;
    border-radius: 3px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .12);
}

.login-language-selector .c-language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    padding: 6px;
    border: 1px solid rgba(148, 163, 184, .28);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .16);
}

.login-language-selector .c-language-menu button {
    width: 100%;
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    gap: 9px;
    padding: 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.login-language-selector .c-language-menu button:hover,
.login-language-selector .c-language-menu button:focus-visible,
.login-language-selector .c-language-menu button.is-active {
    background: #eef5ff;
    color: #075ee8;
    outline: none;
}
