html,
body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  font-family: 'Lato', sans-serif;
}

.login-page {
  height: 100dvh;
  background: transparent;
  overflow: hidden;
  margin-top: 30px;
}

.login-layout {
  height: 91%;
}

.left-side {
  padding: 1rem 1rem 1.5rem 1rem;   /* top right bottom left */
  height: 100%;
}

.left-card {
  width: 100%;
  height: calc(100% - 2rem);
  background: #5c5a5a;
  height: calc(100% - 3rem);
  border-radius: 16px;
  overflow: hidden;
  margin-left: 18px;
}

.right-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.form-wrapper {
  width: min(100%, 480px);
  margin-bottom: 70px;
}

.logo {
  width: 170px;
  height: auto;
  margin-bottom: 12px;
}

.login-btn {
  width: 183px;
  height: 47px;
  background-color: #2d2a84;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.login-btn:hover {
  background-color: #24206b;
}

.login-form .login-field {
  display: flex;
  align-items: center;
  width: 100%;
  height: 66px;
  margin-bottom: 22px;
  border: 1px solid #8e8e8e;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
  padding: 0 18px;
}

.login-form .login-icon {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0f16;
  margin-right: 16px;
  flex-shrink: 0;
}

.login-form .login-icon i {
  line-height: 1;
  font-size: 1.7rem;
}

.login-form .login-input {
  width: 100%;
  height: auto;
  border: 0;
  outline: 0;
  padding: 0;
  font-size: 1.15rem;
  color: #0f1720;
  background: transparent;
}

.login-form .login-input::placeholder {
  color: #7c7c7c;
  opacity: 1;
}

.forgot-link-wrap {
  text-align: center;
  margin: 10px 0 8px;
}

.forgot-link {
  color: #161a21;
  text-decoration: none;
  font-size: 1.1rem;
  line-height: 1;
}

.forgot-link:hover {
  text-decoration: underline;
}

.login-rate-limit-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.58);
  z-index: 1200;
}

.login-rate-limit-modal.open {
  display: flex;
}

.login-rate-limit-card {
  width: min(100%, 420px);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
  padding: 28px 24px 22px;
  text-align: center;
}

.login-rate-limit-title {
  margin: 0;
  color: #111827;
  font-size: 1.5rem;
  font-weight: 800;
}

.login-rate-limit-copy {
  margin: 12px 0 0;
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.6;
}

.login-rate-limit-btn {
  min-width: 160px;
  height: 46px;
  margin-top: 22px;
  border: none;
  border-radius: 10px;
  background: #2d2a84;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
}

.login-rate-limit-btn:hover {
  background: #24206b;
}

@media (min-width: 768px) {
  .left-side {
    padding: 0.1rem;
    height: 100%;
  }

  .left-card {
    height: calc(100% - 0.2rem);
  }

  .right-side {
    padding: 2.5rem;
  }
}