.student-login-page {
  margin: 0;
  min-width: 320px;
  background: #eef4f7;
  color: #0b2542;
}

.student-login-page *,
.student-login-page *::before,
.student-login-page *::after { box-sizing: border-box; }

.student-login-shell.login-shell {
  display: grid;
  grid-template-columns: minmax(420px, .78fr) minmax(620px, 1.22fr);
  gap: 18px;
  min-height: 100svh;
  padding: 18px;
  background: radial-gradient(circle at 9% 12%, rgba(20, 184, 214, .12), transparent 24rem), #eef4f7;
}

.student-login-panel.login-panel {
  display: flex;
  align-items: center;
  padding: clamp(34px, 5vw, 76px);
  border: 1px solid rgba(15, 51, 78, .08);
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 52px rgba(15, 44, 69, .08);
}

.student-login-card.login-card { width: 100%; max-width: 440px; margin: 0 auto; }

.student-login-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 154px;
  height: 58px;
  margin-bottom: 38px;
  padding: 9px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b2946, #0f4161);
  box-shadow: 0 12px 28px rgba(8, 39, 66, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}

.student-login-brand:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(8, 39, 66, .24); }
.student-login-brand img { display: block; width: 118px; max-height: 40px; object-fit: contain; }
.student-login-kicker { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.student-login-kicker .eyebrow { margin: 0; color: #007f9d; font-size: 12px; letter-spacing: .14em; }
.student-login-secure { display: inline-flex; align-items: center; gap: 6px; color: #497086; font-size: 12px; font-weight: 700; white-space: nowrap; }
.student-login-secure > span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #dff7f6; color: #007b78; font-size: 12px; }
.student-login-card h1 { margin: 0 0 12px; color: #08243f; font-size: clamp(34px, 3vw, 48px); line-height: 1.04; letter-spacing: -.035em; }
.student-login-card > p { max-width: 410px; margin: 0 0 30px; color: #607487; font-size: 16px; line-height: 1.65; }
.student-login-form { display: grid; gap: 18px; }
.student-login-form .field { margin: 0; }
.student-login-form .field label { display: block; margin-bottom: 8px; color: #102b47; font-size: 14px; font-weight: 800; }

.student-login-form .field input {
  box-sizing: border-box;
  width: 100%;
  height: 56px;
  padding: 0 17px;
  border: 1px solid #c7d5df;
  border-radius: 13px;
  background: #fff;
  color: #08243f;
  font: inherit;
  font-size: 16px;
  box-shadow: 0 1px 2px rgba(15, 44, 69, .03);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.student-login-form .field input::placeholder { color: #94a4b2; }
.student-login-form .field input:focus { outline: none; border-color: #05aeca; box-shadow: 0 0 0 4px rgba(5, 174, 202, .14); }
.student-login-form .field small { display: block; margin-top: 8px; color: #758696; font-size: 12px; line-height: 1.45; }

.student-login-button.button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 14px 20px;
  border: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #0b2946, #0d3c5d);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(9, 45, 75, .2);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.student-login-button.button span { font-size: 21px; line-height: 1; transition: transform .18s ease; }
.student-login-button.button:hover { background: linear-gradient(135deg, #083558, #006c88); box-shadow: 0 15px 30px rgba(9, 45, 75, .26); transform: translateY(-2px); }
.student-login-button.button:hover span { transform: translateX(4px); }
.student-login-button.button:focus-visible,
.student-login-brand:focus-visible,
.student-login-card .back-link:focus-visible { outline: 3px solid rgba(11, 184, 216, .42); outline-offset: 3px; }

.student-login-note { display: flex; align-items: flex-start; gap: 11px; margin-top: 22px; padding: 14px 15px; border: 1px solid #d9e8ee; border-radius: 12px; background: #f7fbfc; }
.student-login-note > span { display: grid; flex: 0 0 auto; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: #dff7f6; color: #007b78; font-size: 13px; font-weight: 900; }
.student-login-note p { margin: 0; color: #718495; font-size: 12px; line-height: 1.45; }
.student-login-note strong { color: #24445d; font-size: 13px; }
.student-login-card .back-link { display: inline-flex; margin-top: 18px; color: #007f9d; font-size: 13px; font-weight: 800; text-decoration: none; }
.student-login-card .student-back-link { margin-top: 26px; }
.student-login-card .back-link:hover { color: #07506c; text-decoration: underline; }
.student-login-card .alert { margin-bottom: 20px; border-radius: 12px; }

.student-login-art.login-art {
  position: relative;
  display: block;
  min-height: calc(100svh - 36px);
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 22px 60px rgba(15, 44, 69, .16);
  isolation: isolate;
}

.student-login-art.login-art::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(5, 30, 50, .9) 0%, rgba(5, 30, 50, .48) 35%, rgba(5, 30, 50, .03) 68%), linear-gradient(90deg, rgba(5, 30, 50, .38), transparent 62%);
  content: "";
}

.student-login-art-badge { position: absolute; top: 28px; left: 28px; padding: 9px 13px; border: 1px solid rgba(255, 255, 255, .42); border-radius: 999px; background: rgba(6, 38, 61, .54); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .03em; backdrop-filter: blur(10px); }
.student-login-art .login-art-copy { position: absolute; right: clamp(28px, 5vw, 64px); bottom: clamp(32px, 6vw, 74px); left: clamp(28px, 5vw, 64px); z-index: 1; max-width: 560px; color: #fff; }
.student-login-art-kicker { display: block; margin-bottom: 12px; color: #73e6f2; font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.student-login-art .login-art-copy h2 { margin: 0 0 16px; color: #fff; font-size: clamp(38px, 4.2vw, 62px); line-height: .98; letter-spacing: -.045em; }
.student-login-art .login-art-copy p { max-width: 530px; margin: 0; color: rgba(255, 255, 255, .84); font-size: 16px; line-height: 1.6; }
.student-login-features { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.student-login-features span { padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .26); border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 12px; font-weight: 800; backdrop-filter: blur(8px); }

@media (max-width: 1050px) {
  .student-login-shell.login-shell { grid-template-columns: minmax(380px, .9fr) minmax(480px, 1.1fr); }
  .student-login-panel.login-panel { padding: 38px; }
}

@media (max-width: 860px) {
  .student-login-shell.login-shell { display: block; min-height: 100svh; padding: 0; }
  .student-login-panel.login-panel { min-height: 100svh; padding: 46px 24px; border: 0; border-radius: 0; }
  .student-login-art.login-art { display: none; }
}

@media (max-width: 520px) {
  .student-login-panel.login-panel { align-items: flex-start; padding: 28px 20px 36px; }
  .student-login-brand { width: 142px; height: 54px; margin-bottom: 32px; }
  .student-login-kicker { align-items: flex-start; flex-direction: column; gap: 9px; }
  .student-login-card h1 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .student-login-brand,
  .student-login-button.button,
  .student-login-button.button span { transition: none; }
}
