.login-page {
  min-height: 100vh;
  margin: 0;
  color: #102033;
  background:
    linear-gradient(135deg, rgba(3, 23, 38, .95), rgba(0, 82, 88, .86)),
    url("../img/search/search-hero.png") center / cover no-repeat;
  font-family: "Cairo", sans-serif;
}

.login-page a {
  text-decoration: none;
}

.login-form-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(100%, 460px);
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 8px;
  color: #102033;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 30px 80px rgba(0, 13, 30, .28);
}

.register-card {
  width: min(100%, 500px);
}

.login-card-head {
  text-align: center;
}

.login-card-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 8px;
  color: #082033;
  background: linear-gradient(135deg, #ffb31a, #ffe08f);
  font-size: 24px;
  box-shadow: 0 18px 34px rgba(255, 179, 26, .26);
}

.login-card h1 {
  margin: 0 0 8px;
  color: #071827;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
}

.login-card p {
  margin: 0;
  color: #66768a;
  line-height: 1.8;
  font-weight: 700;
}

.login-card form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.login-field {
  display: grid;
  gap: 8px;
  color: #1c3048;
  font-size: 14px;
  font-weight: 900;
}

.login-input {
  min-height: 54px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 0 15px;
  border: 1px solid #dce7ef;
  border-radius: 8px;
  background: #f7fafc;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.login-input:focus-within {
  border-color: rgba(255, 179, 26, .9);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 179, 26, .16);
}

.login-input i {
  color: #0b8f84;
  font-size: 17px;
}

.login-input input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #102033;
  background: transparent;
  font-weight: 800;
}

.login-input input::placeholder {
  color: #94a3b8;
}

.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #64748b;
  font-size: 14px;
  font-weight: 800;
}

.login-options a,
.login-card-footer a {
  color: #006d66;
  font-weight: 900;
}

.login-options a:hover,
.login-card-footer a:hover {
  color: #071827;
  text-decoration: underline;
}

.login-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.login-remember input {
  width: 18px;
  height: 18px;
  accent-color: #ffb31a;
}

.login-submit {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 8px;
  color: #071827;
  background: #ffb31a;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(255, 179, 26, .26);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.login-submit:hover {
  background: #ffc44f;
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(255, 179, 26, .34);
}

.login-card-footer {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #e3edf5;
  color: #64748b;
  font-weight: 800;
}

.login-card .alert {
  margin: 18px 0 0;
  border-radius: 8px;
  font-weight: 800;
}

.login-error {
  color: #b42318;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

@media (max-width: 575.98px) {
  .login-form-page {
    padding: 16px;
  }

  .login-card {
    padding: 22px;
  }

  .login-options {
    align-items: flex-start;
    flex-direction: column;
  }
}
