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

body {
  background: #061b35;
}

.lims-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 48px clamp(28px, 7vw, 112px);
  background:
    linear-gradient(90deg, rgba(3, 18, 41, 0.14) 0%, rgba(3, 18, 41, 0.24) 42%, rgba(3, 18, 41, 0.58) 100%),
    url("../../img/lims_login_bg.png") center / cover no-repeat;
  box-sizing: border-box;
}

.lims-login__panel {
  width: min(100%, 430px);
  padding: 40px 38px 36px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 70px rgba(0, 19, 47, 0.42);
  backdrop-filter: blur(18px);
  box-sizing: border-box;
}

.lims-login__brand {
  text-align: center;
  margin-bottom: 30px;
}

.lims-login__logo {
  width: 112px;
  height: 112px;
  object-fit: contain;
  margin-bottom: 18px;
}

.lims-login__title {
  margin: 0;
  color: #07204a;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
}

.lims-login__subtitle {
  margin: 8px 0 0;
  color: #2e6956;
  font-size: 15px;
  line-height: 1.45;
  font-weight: 500;
}

.lims-login__accent {
  display: inline-block;
  width: 58px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b58a1f, #f0c44f);
}

.lims-login__form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lims-login__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.lims-login__field label,
.lims-login__remember label {
  color: #17325a;
  font-size: 14px;
  font-weight: 700;
}

.lims-login__input-shell {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #d5deea;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
}

.lims-login__input-shell:focus-within {
  border-color: #166c55;
  box-shadow: 0 0 0 4px rgba(22, 108, 85, 0.14);
}

.lims-login__field-icon {
  color: #60738f;
  font-size: 21px;
}

.lims-login__input-shell input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #092348;
  background: transparent;
  font: inherit;
}

.lims-login__input-shell input::placeholder {
  color: #8a98aa;
}

.lims-login__password-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #60738f;
  cursor: pointer;
}

.lims-login__password-toggle:hover,
.lims-login__password-toggle:focus-visible {
  background: rgba(8, 56, 108, 0.08);
  color: #08386c;
  outline: 0;
}

.lims-login__password-toggle .material-icons {
  font-size: 20px;
}

.lims-login__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: -2px;
  font-size: 14px;
}

.lims-login__remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #40546f;
}

.lims-login__remember input {
  width: 18px;
  height: 18px;
  accent-color: #166c55;
}

.lims-login__forgot {
  color: #0e5d4a;
  font-weight: 700;
  text-decoration: none;
}

.lims-login__forgot:hover {
  text-decoration: underline;
}

.lims-login__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 52px;
  margin-top: 4px;
  border: 0;
  border-radius: 12px;
  background: #08386c;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 14px 28px rgba(8, 56, 108, 0.24);
  cursor: pointer;
}

.lims-login__submit:hover {
  background: #0a427c;
}

.lims-login__errors,
.lims-login__field-errors {
  border-radius: 10px;
  color: #8b1e1e;
  font-size: 13px;
}

.lims-login__errors {
  padding: 10px 12px;
  background: #fff2f2;
}

.lims-login__errors p,
.lims-login__field-errors p {
  margin: 0;
}

@media (max-width: 720px) {
  body {
    overflow-y: auto;
  }

  .lims-login {
    justify-content: center;
    padding: 28px 18px;
    background-position: 36% center;
  }

  .lims-login__panel {
    padding: 32px 24px 28px;
    border-radius: 18px;
  }

  .lims-login__title {
    font-size: 26px;
  }

  .lims-login__meta {
    align-items: flex-start;
    flex-direction: column;
  }
}
