@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/Poppins/Poppins-Regular.woff2") format("woff2"), url("../fonts/Poppins/Poppins-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/Poppins/Poppins-Medium.woff2") format("woff2"), url("../fonts/Poppins/Poppins-Medium.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/Poppins/Poppins-SemiBold.woff2") format("woff2"), url("../fonts/Poppins/Poppins-SemiBold.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/Poppins/Poppins-Bold.woff2") format("woff2"), url("../fonts/Poppins/Poppins-Bold.ttf") format("truetype");
  font-display: swap;
}

:root {
  --login-ink: #17323f;
  --login-muted: #72848d;
  --login-accent: #55b9e8;
  --login-dark: #293c44;
  --login-line: rgba(35, 63, 76, .08);
}

html,
body {
  min-width: 320px;
  min-height: 100%;
}

body.login-page {
  min-height: 100vh;
  margin: 0;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  background-color: #071d27;
  background-image: linear-gradient(90deg, rgba(3, 18, 26, .45), rgba(3, 18, 26, .12)), url("../img/background/login-bg-new.png");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  align-items: center;
  gap: clamp(40px, 7vw, 130px);
  width: calc(100% - 10vw);
  max-width: 1380px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0;
}

.login-intro {
  display: flex;
  align-items: flex-start;
  align-self: stretch;
  min-width: 0;
  padding-top: clamp(20px, 6vh, 100px);
}

.login-intro-copy {
  max-width: 660px;
}

.login-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: #acd6e7;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
}

.login-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--login-accent);
}

.login-intro h1 {
  margin: 0;
  color: #f8fbfc;
  font-size: clamp(32px, 3.1vw, 48px);
  font-weight: 500;
  line-height: 1.2;
}

.login-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 500px;
  min-width: 0;
  padding: 36px 30px 24px;
  overflow: hidden;
  color: var(--login-ink);
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 16px;
  background: rgba(246, 249, 251, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(2, 21, 29, .16);
  text-align: center;
}

.login-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  margin: 0 auto 18px;
}

.login-brand img {
  display: block;
  width: min(100%, 220px);
  max-height: 58px;
  object-fit: contain;
}

.login-card h2 {
  margin: 0 0 4px;
  color: var(--login-ink);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.4;
}

.login-description {
  margin: 0 0 24px;
  color: var(--login-muted);
  font-size: 16px;
  line-height: 1.6;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
  text-align: left;
}

.login-field {
  display: flex;
  align-items: center;
  width: 100%;
  height: 54px;
  margin: 0;
  color: #365967;
  border: 1px solid #cbd6db;
  border-radius: 5px;
  background: #ffffff;
}

.login-field:focus-within {
  border-color: #7cb7ce;
  box-shadow: 0 0 0 3px rgba(85, 185, 232, .12);
}

.login-field-icon {
  display: flex;
  flex: 0 0 44px;
  justify-content: center;
  align-items: center;
  font-size: 18px;
}

.login-field input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 12px 0 0;
  color: var(--login-ink);
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
}

.login-field input::placeholder {
  color: #7c8589;
  opacity: 1;
}

.login-password-toggle {
  position: relative;
  display: flex;
  flex: 0 0 48px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  color: #365967;
  border-left: 1px solid #d4dde1;
  font-size: 17px;
}

.login-password-toggle input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
  opacity: 0;
}

.login-remember {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 4px 0 2px;
  color: #36515e;
  font-size: 16px;
  font-weight: 400;
  cursor: pointer;
}

.login-remember input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--login-dark);
}

.login-submit {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 51px;
  margin-top: 2px;
  color: #ffffff;
  border: 0;
  border-radius: 5px;
  background: var(--login-dark);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease;
}

.login-submit:hover,
.login-submit:focus-visible {
  background: #1b3038;
}

.login-submit:active {
  transform: translateY(1px);
}

.login-card__footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--login-line);
  flex-wrap: wrap;
}

.login-card__footer a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  line-height: 0;
}

.login-card__footer img {
  display: block;
  max-width: 100%;
  height: auto;
}

.login-card__footer-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8b989d;
  font-size: 18px;
  font-weight: 700;
}

.copyright-logo-avh {
  width: 169px;
  max-width: 100%;
  height: auto;
}

.copyright-logo-ish {
  width: 77px;
  margin-bottom: 6px;
  max-width: 100%;
  height: auto;
}

.login-card .alert {
  margin: 0 0 16px;
  text-align: left;
}

@media (max-width: 900px) {
  .login-layout {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
    gap: 32px;
    width: calc(100% - 48px);
  }

  .login-intro h1 {
    font-size: clamp(30px, 4vw, 40px);
  }
}

@media (max-width: 700px) {
  body.login-page {
    background-position: 40% center;
    background-attachment: scroll;
  }

  .login-layout {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 28px;
    width: calc(100% - 32px);
    max-width: 500px;
    padding: 28px 0;
  }

  .login-intro {
    align-self: auto;
    width: 100%;
    padding-top: 0;
  }

  .login-eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .login-intro h1 {
    font-size: clamp(25px, 7vw, 34px);
  }

  .login-card {
    padding: 30px 22px 20px;
  }
}

@media (max-width: 380px) {
  .login-card {
    padding-right: 17px;
    padding-left: 17px;
  }
}
