/* =========================================================================
   NEXGEN Sign-In Preview
   Plain-CSS port of the sign-in layout spec (originally written as a
   CSS-module :global block). Class names are kept identical to that spec
   so this stylesheet can be dropped onto the real markup later with no
   renaming. Sections not covered by the spec (title, SSO button, divider,
   collapsible panel, input icons, footer links, buttons) are new and
   follow the same breakpoint scheme: mobile-first, enhanced at 576px,
   991px and 1120px.
   ========================================================================= */

:root {
    --nexgen-blue: #1a73c9;
    --nexgen-blue-dark: #14539c;
    --banner-bg: #2F7ABC;
    --banner-box-bg: #2F7ABC;
    --page-bg: #f5f5f5;
    --text-dark: #333333;
    --border-color: #dde3ea;
    --muted-text: rgba(0, 0, 0, 0.45);
    --alert-danger-bg: #fdecec;
    --alert-danger-border: #f6c6c6;
    --alert-danger-icon: #e5342a;
    --alert-danger-text: #333333;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
}

/* ---------------------------------------------------------------------- */
/* .signInLayout                                                          */
/* ---------------------------------------------------------------------- */

.signInLayout {
  height: 100vh;
  overflow: auto;
  display: flex;
  align-items: center;
  background-color: var(--banner-bg);
}

@media (min-width: 991px) {
  .signInLayout {
    background-color: var(--page-bg);
  }
}

/* ---------------------------------------------------------------------- */
/* .signInBanner                                                          */
/* ---------------------------------------------------------------------- */

.signInBanner {
  position: relative;
  display: none;
}

.signInBannerLogo {
  position: absolute;
  top: 24px;
  left: 24px;
  height: 24px;
  z-index: 2;
}

.signInBannerBgLogo {
    position: absolute;
    left: 20px;
    bottom: 0;
    height: 100%;
    max-height: 584px;
    pointer-events: none;
    user-select: none;
}

@media (min-width: 991px) {
  .signInBanner {
    width: 50%;
    height: 100%;
    background-color: var(--banner-bg);
    /* background-image: url("/Content/images/login/signInBannerBgDots.svg"); */
    background-repeat: repeat;
    display: block;
  }

    .signInBanner::before {
        content: "";
        background-image: url("/Content/images/login/dot.svg");
        background-repeat: repeat;
        background-position: right center;
        width: 100%;
        max-width: 463px;
        background-color: var(--banner-box-bg);
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        box-shadow: 0px 4px 250px 0px rgba(0, 0, 0, 0.25);
        height: 100%;
        max-height: 530px;
        right: 0;
        background-repeat: no-repeat;
    }
}

/* ---------------------------------------------------------------------- */
/* .SignInFormWrapper                                                     */
/* ---------------------------------------------------------------------- */

.SignInFormWrapper {
    z-index: 1;
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

@media(min-width: 375px) {
    .SignInFormWrapper {
        max-height: 642px;
        padding-inline: 15px;
    }
}

@media (max-width: 991px) {
    .SignInFormWrapper {
        justify-content: center;
    }
}

@media (min-width: 991px) {
    .SignInFormWrapper {
        width: 100%;
        max-width: 463px;
        padding-inline: 0px;
        max-height: 530px;
    }
}

.SignInFormWrapper .formWrapper {
  flex: 1 1 auto;
  align-content: center;
}

.SignInFormWrapper .form {
  max-width: 630px;
  height: 100%;
/*  max-height: 530px;*/
  background: #fff;
  align-content: center;
/*  padding: 45px 15px;*/
    padding-inline: 15px;
  margin-inline: auto;
}

@media (min-width: 575px) {
  .SignInFormWrapper .form {
/*    padding: 40px 40px 32px;*/
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.05);
  }
}

@media(min-width: 991px) {
    .SignInFormWrapper .form {
        max-height: 530px;
    }
}

@media (min-width: 1120px) {
  .SignInFormWrapper .form {
    width: 100%;
  }
}

.SignInFormWrapper .footer-wrapper {
    padding-top: 12px;
    /*    padding-left: 8px;*/
    text-align: center;
    flex: 0 0 auto;   
}

@media (min-width: 991px) {
    .SignInFormWrapper .footer-wrapper {
        position: absolute;
        bottom: -72px;
        left: 0;
        right: 0;
    }
}

@media (max-width: 425px) {
  .SignInFormWrapper .footer-wrapper {
    margin-block-start: 0px;
  }
}

.SignInFormWrapper .copy-right {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted-text);
  margin: 4px 0 0;
  line-height: 1.5;
}

.SignInFormWrapper .footer-links {
  font-size: 13px;
}

.SignInFormWrapper .footer-links a {
  color: var(--nexgen-blue);
  text-decoration: none;
}

.SignInFormWrapper .footer-links a:hover {
  text-decoration: underline;
}

.SignInFormWrapper .footer-links span {
  color: var(--border-color);
  margin: 0 8px;
}

/* ---------------------------------------------------------------------- */
/* Form heading                                                           */
/* ---------------------------------------------------------------------- */

.form-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-dark);
  margin: 0 0 24px;
}

/* ---------------------------------------------------------------------- */
/* SSO button + divider                                                   */
/* ---------------------------------------------------------------------- */

.btn-sso {
  display: block;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background-color: var(--nexgen-blue);
  border: 1px solid var(--nexgen-blue);
  border-radius: 3px;
  cursor: pointer;
  text-align: center;
}

.btn-sso:hover {
  background-color: var(--nexgen-blue-dark);
  border-color: var(--nexgen-blue-dark);
    color: #fff;
}

.form-divider {
  max-width: 280px;
  min-width: 0;
  margin: 18px auto;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--muted-text);
  font-size: 12px;
}

.form-divider::before,
.form-divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background-color: var(--border-color);
}

.form-divider span {
  padding: 0 10px;
}

/* ---------------------------------------------------------------------- */
/* Collapsible "Sign in with NEXGEN AM Account" panel                     */
/* ---------------------------------------------------------------------- */

.login-collapse {
  max-width: 380px;
  margin: 0 auto;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  overflow: hidden;
}

.login-collapse-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  background: #fff;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  position: relative;
}

.login-collapse-header .chevron-icon {
  flex: 0 0 auto;
  transition: transform 0.2s ease;
  color: var(--text-dark);
  position: absolute;
  right: 16px;
}

.login-collapse-header.is-collapsed .chevron-icon {
  transform: rotate(180deg);
}

.login-collapse-panel:not(.is-collapsed) {
  border-top: 1px solid transparent;
}

.login-collapse-panel {
  padding: 4px 14px 16px ;
  border-top: 1px solid var(--border-color);
  transition: height 0.2s ease-in-out;
}

.login-collapse-panel.is-collapsed {
  display: none;
}

/* ---------------------------------------------------------------------- */
/* Username / password inputs                                             */
/* ---------------------------------------------------------------------- */

.login-form {
  margin: 0;
}

.form-group {
  position: relative;
  margin-bottom: 14px;
}

.form-group .input-wrapper {
  position: relative;
}

.form-group .input-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-text);
  pointer-events: none;
}

.login input.form-input {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 34px;
  font-size: 14px;
  color: var(--text-dark);
  background-color: #fff;
  border: 1px solid #D9D9D9;
  border-radius: 0;
}

.form-input::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.form-input:focus {
  outline: none;
  border-color: var(--nexgen-blue);
  box-shadow: 0 0 0 2px rgba(26, 115, 201, 0.15);
}

/* ---------------------------------------------------------------------- */
/* Remember me / forgot password                                          */
/* ---------------------------------------------------------------------- */

.login-remember-forgot-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.login-remember-checkbox {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-dark);
  cursor: pointer;
}

.login-remember-checkbox input[type="checkbox"] {
  accent-color: var(--nexgen-blue);
  width: 14px;
  height: 14px;
  cursor: pointer;
  opacity: 1;
  position: unset;
}

.login-forgot-password-link {
  font-size: 13px;
  color: var(--nexgen-blue);
  text-decoration: none;
  cursor: pointer;
}

.login-forgot-password-link:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------------------- */
/* Login button                                                           */
/* ---------------------------------------------------------------------- */

.btn-login {
  display: block;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--nexgen-blue);
  background-color: #fff;
  border: 1px solid var(--nexgen-blue);
  border-radius: 3px;
  cursor: pointer;
}

.btn-login:hover {
  background-color: rgba(26, 115, 201, 0.06);
}

/* login-description kept for parity with the spec (unused by default markup) */
.login-description {
  display: block;
  text-align: center;
  color: var(--text-dark);
  font-size: 13px;
  margin-bottom: 28px;
  line-height: 1.6;
  max-width: 380px;
  margin-inline: auto;
}


.login-session-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 380px;
  margin: 0 auto 20px;
  padding: 12px 14px;
  background-color: var(--alert-danger-bg);
  border: 1px solid var(--alert-danger-border);
  border-radius: 6px;
}

.login-session-alert-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--alert-danger-icon);
}

.login-session-alert-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.login-session-alert-text {
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.4;
  color: var(--alert-danger-text);
}

.login .validation-summary-errors {
    margin: 0px;
}

.login .validation-summary-errors ul {
    margin: 0px;
}

    .login .validation-summary-errors ul li {
        color: #000000E0;
        font-weight: 400;
        font-size: 14px;
        line-height: 21px;
    }

.validation-summary {
    border: 1px solid #FFA39E;
    background-color: #FFF1F0;
    padding: 8px 12px;
    border-radius:8px;
    margin-block-end: 12px;
    display: flex;
    align-items:center;
    gap: 8px;
}