/* Keep Yii-generated frontend markup aligned with the imported static design. */
body.login-page {
  background: #f4f8fc;
  min-height: 100svh;
}

body.login-page .top-stack {
  position: relative;
  z-index: 2;
}

body.login-page .main-header {
  background: transparent;
}

body.login-page .auth-nav-wrap {
  width: min(100% - 2rem, 1060px);
  min-height: 92px;
  margin-inline: auto;
}

body.login-page main.auth-main {
  min-height: calc(100svh - 92px);
  display: flex;
  align-items: center;
  padding: 0 0 clamp(2rem, 5vh, 4.5rem);
}

body.login-page .auth-shell {
  width: min(100% - 2rem, 1060px);
  margin-inline: auto;
  transform: translateY(-1.5vh);
}

body.login-page .auth-intro {
  margin: 0 auto clamp(1.7rem, 3vh, 2.25rem);
}

body.login-page .auth-card {
  margin-inline: auto;
  max-width: 1060px;
}

body.login-page .auth-intro h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

body.login-page .auth-brand-script {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
}

body.login-page .auth-form input[type="text"],
body.login-page .auth-form input[type="email"],
body.login-page .auth-form input[type="password"] {
  width: 100%;
  min-height: 54px;
  border: 1px solid #cfd7e2;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  padding: 0.72rem 0.9rem;
  font-family: inherit;
  font-size: 1rem;
  color: #1d2128;
}

body.login-page .auth-form input[type="text"]:focus,
body.login-page .auth-form input[type="email"]:focus,
body.login-page .auth-form input[type="password"]:focus {
  border-color: #cfd7e2;
  box-shadow: none;
  outline: 2px solid rgba(38, 132, 198, 0.4);
  outline-offset: 2px;
}

body.login-page .auth-check input[type="hidden"] {
  display: none !important;
}

body.login-page .auth-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--primary);
}

body.login-page .auth-form-feedback {
  min-height: 0;
  margin: -0.25rem 0 0;
  color: #c72626;
  font-size: 0.9rem;
  line-height: 1.3;
  text-align: left;
}

body.login-page .auth-form-feedback:empty {
  display: none;
}

body.login-page .auth-login-btn {
  appearance: none;
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  box-shadow: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
}

body.login-page .auth-login-btn:hover,
body.login-page .auth-login-btn:focus-visible {
  background: #1771b4;
}

body.login-page .footer {
  display: none !important;
}

@media (max-width: 767px) {
  body.login-page {
    min-height: 100%;
  }

  body.login-page .auth-nav-wrap {
    min-height: 56px;
    width: 100%;
  }

  body.login-page main.auth-main {
    min-height: 100vh;
    display: block;
    padding: 0;
  }

  body.login-page .auth-shell {
    width: 100%;
    transform: none;
  }

  body.login-page .auth-form input[type="text"],
  body.login-page .auth-form input[type="email"],
  body.login-page .auth-form input[type="password"] {
    min-height: 58px;
  }

  body.login-page .auth-check input[type="checkbox"] {
    width: 22px;
    height: 22px;
  }
}
