.login-form-wrap {
  max-width: 540px;
}

.login-form-wrap h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -0.025em;
  font-weight: 800;
}

#instructorLoginForm {
  margin-top: 22px;
}

.toggle-pass {
  border-radius: 0 12px 12px 0;
}

.login-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.forgot-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.login-footnote {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.login-footnote a {
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.login-footnote a:hover {
  text-decoration: underline;
}

.login-media-pane::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.24), transparent 36%),
    radial-gradient(circle at 78% 86%, rgba(37, 99, 235, 0.3), transparent 40%);
  pointer-events: none;
}

.login-media-content,
.login-media-image-wrap {
  position: relative;
  z-index: 1;
}

.login-media-content h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.login-media-content p {
  margin: 10px 0 0;
  color: rgba(226, 232, 240, 0.88);
  font-size: 0.94rem;
  max-width: 44ch;
}

.login-media-image-wrap {
  margin-top: 22px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.35);
}

.login-media-image {
  width: 100%;
  display: block;
  height: 320px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 991.98px) {
  .login-media-image {
    height: 240px;
  }
}
