body.student-home-page {
  margin: 0;
  min-height: 100vh;
  color: #173339;
  font-family:
    "Microsoft JhengHei UI",
    "Microsoft JhengHei",
    "PingFang TC",
    "Segoe UI",
    Arial,
    sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 236, 220, 0.7), transparent 22%),
    radial-gradient(circle at 86% 14%, rgba(215, 239, 242, 0.82), transparent 28%),
    radial-gradient(circle at 88% 82%, rgba(220, 240, 242, 0.64), transparent 24%),
    linear-gradient(180deg, #f7fbfb 0%, #eef6f4 100%);
}

.student-home-page .student-auth-shell {
  min-height: 100vh;
  width: min(1460px, calc(100vw - 120px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(540px, 1fr) minmax(480px, 620px);
  gap: clamp(36px, 4vw, 72px);
  align-items: center;
  padding: 22px 0;
}

.student-home-page .student-auth-visual,
.student-home-page .student-auth-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(205, 220, 220, 0.92);
  border-radius: 34px;
  box-shadow: 0 20px 52px rgba(141, 169, 170, 0.16);
}

.student-home-page .student-auth-visual {
  max-width: 680px;
  width: 100%;
  justify-self: center;
  padding: 48px 44px 40px;
}

.student-home-page .student-auth-card {
  max-width: 620px;
  padding: 34px 36px 28px;
}

.student-home-page .student-auth-logos {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.student-home-page .student-auth-logos img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.student-home-page .student-auth-logos span {
  width: 1px;
  height: 62px;
  background: rgba(168, 183, 184, 0.78);
}

.student-home-page .student-auth-kicker {
  margin: 0 0 14px;
  color: #5f7f86;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.student-home-page .student-auth-visual h1,
.student-home-page .student-auth-card h2 {
  margin: 0;
  color: #17302f;
}

.student-home-page .student-auth-visual h1 {
  font-size: clamp(2.25rem, 2.8vw, 3.35rem);
  line-height: 1.18;
  font-weight: 800;
}

.student-home-page .student-auth-copy,
.student-home-page .student-auth-card-head p,
.student-home-page .student-field-help,
.student-home-page .student-auth-foot span {
  color: #56767d;
}

.student-home-page .student-auth-copy {
  margin: 18px 0 0;
  max-width: 560px;
  font-size: 0.97rem;
  line-height: 1.68;
}

.student-home-page .student-auth-card-head {
  margin-bottom: 18px;
}

.student-home-page .student-auth-card h2 {
  font-size: clamp(1.88rem, 2vw, 2.4rem);
  line-height: 1.18;
  font-weight: 800;
}

.student-home-page .student-auth-card-head p {
  margin: 18px 0 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.student-home-page .student-auth-form {
  display: grid;
}

.student-home-page .field {
  gap: 8px;
  margin-top: 18px;
}

.student-home-page .field span {
  color: #0f2424;
  font-size: 0.9rem;
  font-weight: 700;
}

.student-home-page input {
  min-height: 58px;
  border: 1px solid #cad7d7;
  border-radius: 13px;
  background: #ffffff;
  color: #173339;
  padding: 0 16px;
  font-size: 0.94rem;
  box-shadow: none;
}

.student-home-page input::placeholder {
  color: #6e7f84;
}

.student-home-page input:focus {
  border-color: #cb2d34;
  box-shadow: 0 0 0 4px rgba(203, 45, 52, 0.12);
}

.student-home-page .student-field-help {
  display: block;
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.48;
}

.student-home-page .primary-button {
  width: 100%;
  min-height: 60px;
  margin-top: 18px;
  border-radius: 12px;
  background: #a60612;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.student-home-page .primary-button:hover {
  background: #8f0510;
}

.student-home-page .notice {
  margin-top: 14px;
}

.student-home-page .student-auth-foot {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(207, 218, 218, 0.95);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.student-home-page .student-auth-foot span {
  flex: 1 1 auto;
  font-size: 0.84rem;
  line-height: 1.56;
}

.student-home-page .student-auth-foot a {
  flex: 0 0 220px;
  color: #0c7c87;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.44;
  text-decoration: none;
}

.student-home-page .student-auth-foot a:hover {
  text-decoration: underline;
}

@media (max-width: 1280px) {
  .student-home-page .student-auth-shell {
    width: min(1080px, calc(100vw - 40px));
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 18px 0 28px;
  }

  .student-home-page .student-auth-visual,
  .student-home-page .student-auth-card {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  .student-home-page .student-auth-shell {
    width: calc(100vw - 24px);
    padding: 14px 0 20px;
  }

  .student-home-page .student-auth-visual,
  .student-home-page .student-auth-card {
    border-radius: 26px;
  }

  .student-home-page .student-auth-visual {
    padding: 28px 22px;
  }

  .student-home-page .student-auth-card {
    padding: 28px 22px 24px;
  }

  .student-home-page .student-auth-logos {
    gap: 14px;
    margin-bottom: 22px;
  }

  .student-home-page .student-auth-logos img {
    width: 68px;
    height: 68px;
  }

  .student-home-page .student-auth-logos span {
    height: 48px;
  }

  .student-home-page .student-auth-foot {
    flex-direction: column;
    gap: 10px;
  }

  .student-home-page .student-auth-foot a {
    flex: 0 0 auto;
  }

  .student-home-page input,
  .student-home-page .primary-button {
    min-height: 54px;
  }
}
