:root {
  --blue: #1684cb;
  --blue-dark: #0e2133;
  --green: #15945f;
  --text: #536276;
  --heading: #0e2133;
  --border: #dce8f1;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 18%, rgba(97,191,237,.22), transparent 28%),
    radial-gradient(circle at 90% 78%, rgba(108,219,165,.24), transparent 31%),
    linear-gradient(90deg, rgba(228,247,255,.88) 0%, rgba(255,255,255,.96) 35%, rgba(255,255,255,.96) 66%, rgba(235,251,242,.9) 100%);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.login-page {
  min-height: 100vh;
  position: relative;
  padding: 34px 0 42px;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.login-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 105px;
}

.login-logo img {
  width: 214px;
  height: auto;
  object-fit: contain;
  display: block;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #26384d;
  font-size: 14px;
  font-weight: 700;
  transition: .25s ease;
}

.back-link:hover {
  color: var(--blue);
  transform: translateX(-3px);
}

.login-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 105px;
  align-items: center;
}

.login-intro {
  max-width: 560px;
}

.login-intro h1 {
  color: var(--heading);
  font-size: 50px;
  line-height: 1.08;
  letter-spacing: -2.5px;
  font-weight: 800;
  margin-bottom: 22px;
}

.login-intro h1 span {
  background: linear-gradient(90deg, #1684cb, #15945f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.login-intro p {
  font-size: 18px;
  line-height: 1.68;
  color: #2f4054;
  max-width: 540px;
  margin-bottom: 38px;
  font-weight: 500;
}

.login-points {
  list-style: none;
  display: grid;
  gap: 18px;
}

.login-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #23364b;
  font-size: 15px;
  font-weight: 700;
}

.login-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #39c77c;
  border-radius: 50%;
  flex: 0 0 auto;
}

.login-card-wrap {
  width: 100%;
}

.login-card {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(220,232,241,.95);
  border-radius: 24px;
  padding: 46px 42px 44px;
  box-shadow: 0 26px 70px rgba(20, 80, 120, .11);
  backdrop-filter: blur(18px);
}

.login-card h2 {
  color: var(--heading);
  font-size: 27px;
  line-height: 1.2;
  letter-spacing: -1px;
  font-weight: 800;
  margin-bottom: 9px;
}

.login-card > p {
  color: #536276;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 30px;
  font-weight: 500;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  color: #0e2133;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 9px;
}

.input-field {
  position: relative;
}

.input-field input {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  border: 1px solid #cad9e5;
  background: #fff;
  color: #0e2133;
  padding: 0 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  transition: .25s ease;
}

.password-field input {
  padding-right: 48px;
}

.input-field input::placeholder {
  color: #8a9aad;
}

.input-field input:focus {
  border-color: #1684cb;
  box-shadow: 0 0 0 4px rgba(22,132,203,.10);
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 30px;
  height: 30px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #6f8195;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.password-toggle:hover {
  color: #1684cb;
}

.password-eye {
  width: 21px;
  height: 21px;
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 5px 0 34px;
}

.remember {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #26384d;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.remember input {
  width: 16px;
  height: 16px;
  accent-color: #1684cb;
  cursor: pointer;
}

.forgot-link {
  color: #006eb6;
  font-size: 14px;
  font-weight: 800;
  transition: .25s ease;
  white-space: nowrap;
}

.forgot-link:hover {
  color: #15945f;
}

.signin-btn {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: #2488cb;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: .25s ease;
  box-shadow: 0 14px 32px rgba(22,132,203,.22);
}

.signin-btn:hover {
  background: #1176b9;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(22,132,203,.28);
}

.signin-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none;
}

.divider {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 30px 0 28px;
  color: #536276;
  font-size: 13px;
  font-weight: 500;
}

.divider::before,
.divider::after {
  content: "";
  height: 1px;
  background: #dce8f1;
  flex: 1;
}

.apply-text {
  text-align: center;
  color: #26384d;
  font-size: 14px;
  font-weight: 500;
}

.apply-text a {
  color: #006eb6;
  font-weight: 800;
  transition: .25s ease;
}

.apply-text a:hover {
  color: #15945f;
}

.login-message {
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.login-message.error {
  background: #fff1f1;
  color: #c73535;
  border: 1px solid #ffd6d6;
}

.login-message.success {
  background: #eef9f4;
  color: #15945f;
  border: 1px solid #d6f3e5;
}

@media (max-width: 980px) {
  .login-top {
    margin-bottom: 70px;
  }

  .login-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .login-intro {
    max-width: 100%;
    text-align: center;
  }

  .login-intro p {
    margin-left: auto;
    margin-right: auto;
  }

  .login-points {
    max-width: 480px;
    margin: 0 auto;
    text-align: left;
  }

  .login-card-wrap {
    max-width: 460px;
    margin: 0 auto;
  }
}

@media (max-width: 650px) {
  .login-page {
    padding: 24px 0 34px;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .login-top {
    margin-bottom: 55px;
  }

  .login-logo img {
    width: 180px;
  }

  .back-link {
    font-size: 13px;
  }

  .login-intro h1 {
    font-size: 38px;
    letter-spacing: -1.8px;
  }

  .login-intro p {
    font-size: 16px;
  }

  .login-card {
    border-radius: 22px;
    padding: 34px 24px 32px;
  }

  .form-options {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 420px) {
  .login-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .login-intro h1 {
    font-size: 34px;
  }
}