/* Student Login — isolated, single-viewport design. */

.student-login-page {
  --sl-navy: #10264a;
  --sl-blue: #19488b;
  --sl-yellow: #f7c315;
  --sl-muted: #71809a;
  width: 100%;
  height: 100vh;
  height: 100svh;
  margin: 0;
  overflow: hidden;
  color: var(--sl-navy);
  background: radial-gradient(ellipse at 10% 16%, rgba(52,112,190,.075), transparent 31%), radial-gradient(ellipse at 88% 18%, rgba(247,195,21,.12), transparent 26%), radial-gradient(ellipse at 82% 88%, rgba(52,112,190,.045), transparent 30%), linear-gradient(128deg, #fbfcff 0%, #fffdf7 47%, #f7f9fd 100%);
  background-size: 190% 190%;
  animation: sl-page-wash 24s ease-in-out infinite alternate;
  font-family: "BuenosAires", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

.student-login-page button, .student-login-page input {
  font: inherit;
}

.student-login-page .sl-viewport {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 18px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.student-login-page .sl-viewport::before,
.student-login-page .sl-viewport::after {
  position: absolute;
  content: "";
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.student-login-page .sl-viewport::before {
  width: 540px;
  height: 540px;
  left: -340px;
  bottom: -365px;
  border: 1px solid rgba(25,72,139,.08);
  animation: sl-bg-drift 19s ease-in-out infinite alternate;
  box-shadow: 0 0 0 24px rgba(25,72,139,.025), 0 0 0 52px rgba(25,72,139,.018), 0 0 0 86px rgba(25,72,139,.012);
}

.student-login-page .sl-viewport::after {
  width: 390px;
  height: 390px;
  right: -275px;
  top: -285px;
  border: 1px solid rgba(247,195,21,.19);
  animation: sl-bg-drift-reverse 23s ease-in-out infinite alternate;
  box-shadow: 0 0 0 23px rgba(247,195,21,.035), 0 0 0 51px rgba(247,195,21,.022);
}

.student-login-page .sl-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .96fr);
  width: min(1080px, 100%);
  height: min(550px, 100%);
  min-height: 0;
  overflow: hidden;
  border: 1px solid #e3eaf4;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16,38,74,.13), 0 3px 10px rgba(16,38,74,.035);
  animation: sl-shell-in .62s cubic-bezier(.2,.75,.25,1) both;
}

/* Full-page airplane route animation — subtle, behind the login card. */

.student-login-page .sl-flight-atmosphere {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: visible;
  opacity: .74;
  pointer-events: none;
}

.student-login-page .sl-flight-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(25,72,139,.035);
  border-radius: 50%;
  transform-origin: center;
}

.student-login-page .sl-flight-orbit-one {
  width: min(96vw, 1420px);
  height: min(92vh, 760px);
  animation: sl-flight-loop-one 43s linear infinite;
}

.student-login-page .sl-flight-orbit-two {
  width: min(88vw, 1300px);
  height: min(82vh, 680px);
  border-style: dashed;
  border-color: rgba(247,195,21,.055);
  animation: sl-flight-loop-two 58s linear infinite;
}

.student-login-page .sl-flight-plane {
  position: absolute;
  top: -15px;
  left: 50%;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: linear-gradient(145deg,#fff,#fff8d6);
  color: #19488b;
  font-size: 17px;
  line-height: 1;
  opacity: .72;
  box-shadow: 0 0 0 5px rgba(247,195,21,.07), 0 4px 15px rgba(25,72,139,.09);
}

.student-login-page .sl-flight-orbit-two .sl-flight-plane {
  top: auto;
  bottom: -13px;
  width: 26px;
  height: 26px;
  background: linear-gradient(145deg,#fff,#eaf4ff);
  color: #2872bd;
  font-size: 14px;
  opacity: .64;
  box-shadow: 0 0 0 5px rgba(25,72,139,.045), 0 4px 12px rgba(25,72,139,.06);
}

.student-login-page .sl-flight-streak {
  position: absolute;
  width: 72px;
  height: 1px;
  border-radius: 99px;
  opacity: .32;
  background: linear-gradient(90deg,transparent,rgba(25,72,139,.18),transparent);
  transform: rotate(-24deg);
  animation: sl-flight-streak-drift 7s ease-in-out infinite alternate;
}

.student-login-page .sl-flight-streak-one {
  top: 19%;
  left: 8%;
}

.student-login-page .sl-flight-streak-two {
  right: 7%;
  bottom: 20%;
  width: 54px;
  background: linear-gradient(90deg,transparent,rgba(247,195,21,.45),transparent);
  animation-delay: -3.3s;
}

/* Brand / welcome panel */

.student-login-page .sl-visual {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  padding: 22px 30px 17px;
  color: #fff;
  background: radial-gradient(ellipse at 18% 10%, rgba(78,150,238,.30), transparent 38%), radial-gradient(ellipse at 94% 74%, rgba(247,195,21,.13), transparent 35%), radial-gradient(ellipse at 6% 92%, rgba(255,255,255,.055), transparent 33%), linear-gradient(148deg, #0d2142 0%, #173f78 45%, #1d4d91 100%);
  isolation: isolate;
}

.student-login-page .sl-visual::before,
.student-login-page .sl-visual::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 50%;
  pointer-events: none;
}

.student-login-page .sl-visual::before {
  width: 480px;
  height: 480px;
  left: -270px;
  bottom: -310px;
  animation: sl-bg-drift 21s ease-in-out infinite alternate;
  box-shadow: 0 0 0 25px rgba(255,255,255,.035), 0 0 0 56px rgba(255,255,255,.022), 0 0 0 91px rgba(247,195,21,.035);
}

.student-login-page .sl-visual::after {
  width: 320px;
  height: 320px;
  top: -215px;
  right: -190px;
  border-color: rgba(247,195,21,.24);
  animation: sl-bg-drift-reverse 17s ease-in-out infinite alternate;
  box-shadow: 0 0 0 26px rgba(247,195,21,.045), 0 0 0 55px rgba(247,195,21,.025);
}

.student-login-page .sl-visual-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.student-login-page .sl-brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  max-width: 55%;
  padding: 7px 9px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 19px rgba(3,14,34,.1);
  transition: transform .2s ease;
}

.student-login-page .sl-brand-chip:hover {
  transform: translateY(-2px);
}

.student-login-page .sl-brand-chip img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.student-login-page .sl-portal-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.82);
  font-size: 9px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .12em;
  white-space: nowrap;
}

.student-login-page .sl-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sl-yellow);
  box-shadow: 0 0 0 4px rgba(247,195,21,.13);
}

.student-login-page .sl-visual-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 490px;
  margin: 0;
  padding: 32px 0 11px;
  animation: sl-rise-in .65s .08s both;
}

.student-login-page .sl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 5px 5px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: linear-gradient(100deg,rgba(255,255,255,.13),rgba(255,255,255,.055));
  color: #f0f5ff;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: .14em;
  box-shadow: 0 7px 22px rgba(3,16,40,.1), inset 0 1px 0 rgba(255,255,255,.07);
}

.student-login-page .sl-eyebrow-mark {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg,rgba(255,255,255,.19),rgba(255,255,255,.07));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 5px 14px rgba(3,16,40,.09);
}

.student-login-page .sl-eyebrow-mark svg {
  display: block;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.student-login-page .sl-visual h1 {
  max-width: 500px;
  margin: 17px 0 19px;
  color: #fff;
  font-size: clamp(36px, 3.45vw, 47px);
  line-height: 1.015;
  letter-spacing: -.062em;
  font-weight: 850;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(4,18,43,.12);
}

.student-login-page .sl-visual h1 span {
  position: relative;
  display: inline-block;
  color: var(--sl-yellow);
}

.student-login-page .sl-visual h1 span::after {
  position: absolute;
  right: auto;
  bottom: -10px;
  left: 1px;
  width: calc(100% - 8px);
  height: 4px;
  content: "";
  border-radius: 99px;
  background: linear-gradient(90deg, var(--sl-yellow) 0%, #ffdc52 75%, rgba(247,195,21,.55) 100%);
  transform-origin: left center;
  transform: rotate(-2.4deg) skewX(-19deg);
  box-shadow: 0 4px 0 -2px rgba(247,195,21,.24);
  animation: sl-line-in .8s .4s both;
}

.student-login-page .sl-visual-copy > p {
  max-width: 435px;
  margin: 0;
  padding: 1px 0 1px 14px;
  border-left: 2px solid rgba(247,195,21,.9);
  color: rgba(245,248,255,.93);
  font-size: 12px;
  line-height: 1.72;
}

.student-login-page .sl-feature-list {
  display: grid;
  gap: 10px;
  max-width: 455px;
  margin-top: 22px;
}

.student-login-page .sl-feature {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 12px 13px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 14px 18px 14px 14px;
  background: linear-gradient(112deg,rgba(255,255,255,.16),rgba(255,255,255,.06));
  box-shadow: 0 11px 25px rgba(4,20,51,.13), inset 0 1px 0 rgba(255,255,255,.075);
  backdrop-filter: blur(9px);
  transition: transform .22s ease, background .22s ease, border-color .22s ease;
  animation: sl-feature-in .58s both;
}

.student-login-page .sl-feature:nth-child(2) {
  animation-delay: .12s;
}

.student-login-page .sl-feature::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 3px;
  border-radius: 0 5px 5px 0;
  background: var(--sl-yellow);
  content: "";
  opacity: .92;
}

.student-login-page .sl-feature:hover {
  transform: translateX(3px);
  border-color: rgba(255,255,255,.27);
  background: linear-gradient(110deg,rgba(255,255,255,.14),rgba(255,255,255,.07));
}

.student-login-page .sl-feature-icon {
  display: grid;
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid rgba(247,195,21,.45);
  border-radius: 13px;
  background: linear-gradient(145deg,rgba(255,255,255,.18),rgba(255,255,255,.07));
  color: var(--sl-yellow);
  box-shadow: 0 6px 15px rgba(2,14,38,.13), inset 0 1px 0 rgba(255,255,255,.1);
}

.student-login-page .sl-feature-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.student-login-page .sl-feature strong, .student-login-page .sl-feature small {
  display: block;
}

.student-login-page .sl-feature strong {
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: -.018em;
}

.student-login-page .sl-feature small {
  margin-top: 4px;
  color: rgba(237,243,255,.9);
  font-size: 10px;
  line-height: 1.5;
}

.student-login-page .sl-visual-art {
  position: absolute;
  right: 19px;
  bottom: 62px;
  width: 96px;
  height: 96px;
  opacity: .95;
  pointer-events: none;
}

.student-login-page .sl-art-orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
}

.student-login-page .sl-art-orbit-one {
  animation: sl-orbit 32s linear infinite;
}

.student-login-page .sl-art-orbit-two {
  inset: 14px;
  border-color: rgba(247,195,21,.29);
  animation: sl-orbit 24s linear infinite reverse;
}

.student-login-page .sl-art-cap {
  position: absolute;
  inset: 27px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  box-shadow: 0 10px 35px rgba(0,0,0,.08);
  backdrop-filter: blur(5px);
}

.student-login-page .sl-art-cap svg {
  width: 33px;
  height: 33px;
  fill: none;
  stroke: var(--sl-yellow);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.student-login-page .sl-art-spark {
  position: absolute;
  color: var(--sl-yellow);
  animation: sl-spark 3.5s ease-in-out infinite;
}

.student-login-page .sl-art-spark-one {
  top: 1px;
  left: 18px;
  font-size: 13px;
}

.student-login-page .sl-art-spark-two {
  right: 3px;
  bottom: 20px;
  color: #c4e0ff;
  font-size: 18px;
  animation-delay: -1.2s;
}

.student-login-page .sl-visual-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: rgba(233,240,255,.7);
  font-size: 9px;
  line-height: 1.5;
}

.student-login-page .sl-footer-star {
  color: var(--sl-yellow);
}

/* Login side — refined, card-based sign-in panel */

.student-login-page .sl-login-panel {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  padding: 18px 23px;
  gap: 12px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(145deg, #ffffff 0%, #fffefa 100%);
}

.student-login-page .sl-login-panel::before,
.student-login-page .sl-login-panel::after {
  position: absolute;
  z-index: -1;
  content: "";
  border: 1px solid rgba(247,195,21,.13);
  border-radius: 50%;
  pointer-events: none;
}

.student-login-page .sl-login-panel::before {
  width: 300px;
  height: 300px;
  top: -206px;
  right: -180px;
  animation: sl-bg-drift-reverse 21s ease-in-out infinite alternate;
  box-shadow: 0 0 0 22px rgba(247,195,21,.025), 0 0 0 48px rgba(247,195,21,.018);
}

.student-login-page .sl-login-panel::after {
  width: 210px;
  height: 210px;
  bottom: -160px;
  left: -142px;
  animation: sl-bg-drift 18s ease-in-out infinite alternate;
  border-color: rgba(25,72,139,.06);
  box-shadow: 0 0 0 20px rgba(25,72,139,.018), 0 0 0 42px rgba(25,72,139,.012);
}

.student-login-page .sl-mobile-brand {
  display: none;
}

.student-login-page .sl-login-main {
  position: relative;
  width: 100%;
  max-width: 438px;
  margin: auto;
  padding: 25px 27px 22px;
  border: 1px solid #e6ebf4;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(16,38,74,.075), 0 3px 9px rgba(16,38,74,.025);
  animation: sl-rise-in .68s .12s both;
}

.student-login-page .sl-login-label {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-height: 34px;
  margin: 0 0 15px;
  padding: 5px 14px 5px 5px;
  border: 1px solid rgba(247,195,21,.38);
  border-radius: 11px;
  background: linear-gradient(110deg,#fff9df 0%,#fff 72%);
  color: #19488b;
  font-size: 9px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: .12em;
  vertical-align: middle;
  box-shadow: 0 5px 15px rgba(16,38,74,.045), inset 0 1px 0 rgba(255,255,255,.95);
}

.student-login-page .sl-login-label-icon-wrap {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 7px;
  background: linear-gradient(145deg,#19488b,#2d67ae);
  box-shadow: 0 3px 8px rgba(25,72,139,.17);
}

.student-login-page .sl-login-label-icon {
  display: block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  align-self: center;
  margin: 0;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: none;
  vertical-align: middle;
}

.student-login-page .sl-login-label > span {
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.student-login-page .sl-login-label-dot {
  display: none !important;
}

.student-login-page .sl-login-main h2 {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 17px;
  padding-bottom: 15px;
  color: #10264a;
  font-size: clamp(33px, 2.9vw, 39px);
  line-height: 1.035;
  letter-spacing: -.058em;
  font-weight: 850;
  text-align: left;
  text-shadow: 0 1px 0 rgba(255,255,255,.75);
}

.student-login-page .sl-login-main h2::after {
  position: absolute;
  left: 1px;
  bottom: 2px;
  width: 124px;
  height: 4px;
  content: "";
  border-radius: 99px;
  background: linear-gradient(90deg,var(--sl-yellow) 0%,#ffdf62 72%,rgba(247,195,21,.48) 100%);
  transform: rotate(-2.7deg) skewX(-19deg);
  transform-origin: left center;
  box-shadow: 0 4px 0 -2px rgba(247,195,21,.25);
  animation: sl-line-in .68s .2s both;
}

.student-login-page .sl-login-main h2 span {
  color: #f7c315;
}

.student-login-page .sl-login-intro {
  max-width: 100%;
  margin: 0 0 15px;
  color: #75839b;
  font-size: 11.5px;
  line-height: 1.65;
  text-align: left;
}

.student-login-page .sl-login-form {
  display: grid;
  gap: 10px;
}

.student-login-page .sl-field {
  display: block;
  min-width: 0;
  color: #314560;
  font-size: 10.5px;
  font-weight: 800;
}

.student-login-page .sl-field-label {
  display: block;
  margin-bottom: 6px;
}

.student-login-page .sl-input-wrap {
  display: flex;
  min-height: 47px;
  align-items: center;
  gap: 10px;
  padding: 0 13px;
  border: 1px solid #dbe5f2;
  border-radius: 13px;
  background: #f9fbff;
  color: #7184a0;
  box-shadow: inset 0 1px 2px rgba(16,38,74,.025);
  transition: none;
}

.student-login-page .sl-input-wrap:focus-within {
  border-color: #dbe5f2;
  background: #f9fbff;
  box-shadow: inset 0 1px 2px rgba(16,38,74,.025);
}

.student-login-page .sl-input-wrap > svg {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.student-login-page .sl-input-wrap input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 43px;
  padding: 0;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: #152a49 !important;
  font-size: 11px;
  font-weight: 600;
  box-shadow: none !important;
}

.student-login-page .sl-input-wrap input::placeholder {
  color: #a1aec0;
  font-weight: 450;
  opacity: 1;
}

.student-login-page .sl-input-wrap input:-webkit-autofill,
.student-login-page .sl-input-wrap input:-webkit-autofill:hover,
.student-login-page .sl-input-wrap input:-webkit-autofill:focus {
  -webkit-text-fill-color: #152a49 !important;
  -webkit-box-shadow: 0 0 0 1000px #f9fbff inset !important;
  box-shadow: 0 0 0 1000px #f9fbff inset !important;
  caret-color: #152a49;
}

.student-login-page .sl-password-toggle {
  flex: 0 0 auto;
  padding: 5px 0 5px 7px;
  border: 0;
  background: transparent;
  color: var(--sl-blue);
  font-size: 9px;
  font-weight: 850;
  cursor: pointer;
}

.student-login-page .sl-password-toggle:focus-visible {
  outline: 2px solid var(--sl-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

.student-login-page .sl-form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 0;
}

.student-login-page .sl-remember {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #697991;
  font-size: 9px;
  font-weight: 650;
  cursor: pointer;
}

.student-login-page .sl-remember input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.student-login-page .sl-custom-check {
  display: grid;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  place-items: center;
  border: 1px solid #cbd7e8;
  border-radius: 4px;
  background: #fff;
  color: #fff;
}

.student-login-page .sl-remember input:checked + .sl-custom-check {
  border-color: var(--sl-blue);
  background: var(--sl-blue);
}

.student-login-page .sl-remember input:checked + .sl-custom-check::after {
  content: "✓";
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
}

.student-login-page .sl-remember input:focus-visible + .sl-custom-check {
  outline: 2px solid var(--sl-yellow);
  outline-offset: 3px;
}

.student-login-page .sl-forgot-link {
  color: var(--sl-blue);
  font-size: 9px;
  font-weight: 850;
  text-decoration: none;
}

.student-login-page .sl-forgot-link:hover, .student-login-page .sl-help-line a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.student-login-page .sl-submit-button {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
  padding: 6px 7px 6px 17px;
  border: 0;
  border-radius: 12px;
  background: var(--sl-blue);
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--sl-yellow), 0 10px 22px rgba(25,72,139,.12);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.student-login-page .sl-submit-button:hover {
  transform: translateY(-2px);
  background: #153d78;
  box-shadow: 0 4px 0 var(--sl-yellow), 0 15px 26px rgba(25,72,139,.17);
}

.student-login-page .sl-submit-button:active {
  transform: translateY(0);
}

.student-login-page .sl-submit-button:focus-visible {
  outline: 3px solid rgba(25,72,139,.22);
  outline-offset: 4px;
}

.student-login-page .sl-submit-arrow {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--sl-blue);
  font-size: 17px;
  transition: transform .18s ease;
}

.student-login-page .sl-submit-button:hover .sl-submit-arrow {
  transform: translateX(2px);
}

.student-login-page .sl-login-status {
  margin: 0;
  padding: 9px 11px;
  border: 1px solid #f0df9a;
  border-radius: 9px;
  background: #fffbee;
  color: #69500a;
  font-size: 9px;
  line-height: 1.5;
}

.student-login-page .sl-login-status[hidden] {
  display: none;
}

.student-login-page .sl-help-line {
  margin: 12px 0 0;
  color: #8a96a8;
  font-size: 9px;
  line-height: 1.6;
  text-align: left;
}

.student-login-page .sl-help-line a {
  color: var(--sl-blue);
  font-weight: 850;
  text-decoration: none;
}

.student-login-page .sl-login-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
  padding-top: 11px;
  border-top: 1px solid #edf1f7;
}

.student-login-page .sl-powered {
  color: #96a0b0;
  font-size: 9px;
  white-space: nowrap;
}

.student-login-page .sl-powered strong {
  color: var(--sl-blue);
  font-weight: 850;
}

.student-login-page .sl-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 0 7px 8px;
  color: var(--sl-blue);
  font-size: 9px;
  font-weight: 850;
  white-space: nowrap;
  transition: color .18s ease, transform .18s ease;
}

.student-login-page .sl-back-link span {
  font-size: 15px;
  line-height: 1;
}

.student-login-page .sl-back-link:hover {
  color: #10264a;
  transform: translateX(-2px);
}

.student-login-page :is(a,button,input):focus-visible {
  outline-color: var(--sl-yellow);
}

@keyframes sl-flight-loop-one {
  from {
    transform: translate(-50%,-50%) rotate(-18deg);
  }

  to {
    transform: translate(-50%,-50%) rotate(342deg);
  }
}

@keyframes sl-flight-loop-two {
  from {
    transform: translate(-50%,-50%) rotate(17deg);
  }

  to {
    transform: translate(-50%,-50%) rotate(-343deg);
  }
}

@keyframes sl-flight-streak-drift {
  from {
    opacity: .22;
    transform: translate3d(-8px,4px,0) rotate(-24deg);
  }

  to {
    opacity: .65;
    transform: translate3d(12px,-7px,0) rotate(-24deg);
  }
}

@keyframes sl-feature-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sl-page-wash {
  from {
    background-position: 0% 30%;
  }

  to {
    background-position: 100% 70%;
  }
}

@keyframes sl-shell-in {
  from {
    opacity: 0;
    transform: translateY(11px) scale(.994);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sl-rise-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sl-line-in {
  from {
    transform: rotate(-2.7deg) skewX(-19deg) scaleX(.2);
    opacity: .25;
  }

  to {
    transform: rotate(-2.7deg) skewX(-19deg) scaleX(1);
    opacity: 1;
  }
}

@keyframes sl-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sl-spark {
  0%, 100% {
    opacity: .55;
    transform: scale(.9) rotate(0);
  }

  50% {
    opacity: 1;
    transform: scale(1.12) rotate(12deg);
  }
}

@keyframes sl-bg-drift {
  from {
    transform: translate3d(-5px, 2px, 0) scale(1);
  }

  to {
    transform: translate3d(12px, -9px, 0) scale(1.025);
  }
}

@keyframes sl-bg-drift-reverse {
  from {
    transform: translate3d(6px, -4px, 0) scale(1.02);
  }

  to {
    transform: translate3d(-10px, 9px, 0) scale(1);
  }
}

/* Tablet/mobile: switch to a compact login card, maintaining one-screen fit. */

@media (max-width: 760px) {
  .student-login-page .sl-viewport {
    padding: 12px;
  }

  .student-login-page .sl-shell {
    display: block;
    width: min(440px, 100%);
    height: min(580px, 100%);
    border-radius: 22px;
  }

  .student-login-page .sl-flight-orbit-one {
    width: 135vw;
    height: 115vh;
  }

  .student-login-page .sl-flight-orbit-two {
    width: 120vw;
    height: 100vh;
  }

  .student-login-page .sl-visual {
    display: none;
  }

  .student-login-page .sl-login-panel {
    height: 100%;
    padding: 15px 20px;
    gap: 10px;
  }

  .student-login-page .sl-mobile-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .student-login-page .sl-mobile-brand a {
    display: inline-flex;
    width: 122px;
    align-items: center;
  }

  .student-login-page .sl-mobile-brand img {
    display: block;
    width: 100%;
    height: auto;
  }

  .student-login-page .sl-mobile-brand > span {
    color: #8996aa;
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .12em;
    white-space: nowrap;
  }

  .student-login-page .sl-login-main {
    max-width: 400px;
    padding: 18px 20px 16px;
    border-radius: 20px;
  }

  .student-login-page .sl-mobile-brand {
    margin-bottom: 13px;
  }

  .student-login-page .sl-login-label {
    font-size: 8px;
    margin-bottom: 8px;
  }

  .student-login-page .sl-login-main h2 {
    margin-top: 0;
    font-size: clamp(29px, 7vw, 35px);
  }

  .student-login-page .sl-login-intro {
    margin-bottom: 12px;
    font-size: 10px;
  }

  .student-login-page .sl-login-form {
    gap: 9px;
  }

  .student-login-page .sl-input-wrap {
    min-height: 44px;
  }

  .student-login-page .sl-input-wrap input {
    height: 40px;
  }

  .student-login-page .sl-submit-button {
    min-height: 44px;
  }

  .student-login-page .sl-submit-arrow {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .student-login-page .sl-help-line {
    margin-top: 10px;
  }

  .student-login-page .sl-login-bottom {
    margin-top: 12px;
    padding-top: 10px;
  }
}

@media (max-width: 380px) {
  .student-login-page .sl-login-panel {
    padding-inline: 19px;
  }

  .student-login-page .sl-mobile-brand a {
    width: 110px;
  }

  .student-login-page .sl-mobile-brand > span {
    font-size: 7px;
  }

  .student-login-page .sl-login-bottom {
    gap: 5px;
  }

  .student-login-page .sl-powered, .student-login-page .sl-back-link {
    font-size: 8px;
  }
}

@media (max-height: 690px) {
  .student-login-page .sl-viewport {
    padding-block: 10px;
  }

  .student-login-page .sl-shell {
    height: min(540px, 100%);
  }

  .student-login-page .sl-visual {
    padding-block: 18px 15px;
  }

  .student-login-page .sl-visual-copy {
    padding-block: 29px 8px;
  }

  .student-login-page .sl-visual h1 {
    margin-block: 10px 8px;
    font-size: clamp(29px, 3vw, 39px);
  }

  .student-login-page .sl-feature-list {
    gap: 8px;
    margin-top: 13px;
  }

  .student-login-page .sl-feature {
    padding: 8px 10px;
    gap: 9px;
  }

  .student-login-page .sl-feature-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .student-login-page .sl-visual-art {
    width: 80px;
    height: 80px;
    right: 13px;
    bottom: 53px;
  }

  .student-login-page .sl-art-cap {
    inset: 23px;
  }

  .student-login-page .sl-art-cap svg {
    width: 26px;
    height: 26px;
  }

  .student-login-page .sl-login-panel {
    padding-block: 14px;
  }

  .student-login-page .sl-login-main h2 {
    margin-top: 0;
  }

  .student-login-page .sl-login-intro {
    margin-bottom: 10px;
  }

  .student-login-page .sl-login-form {
    gap: 8px;
  }

  .student-login-page .sl-input-wrap {
    min-height: 41px;
  }

  .student-login-page .sl-input-wrap input {
    height: 37px;
  }

  .student-login-page .sl-help-line {
    margin-top: 9px;
  }

  .student-login-page .sl-login-bottom {
    margin-top: 11px;
    padding-top: 9px;
  }
}

@media (max-width: 760px) and (max-height: 700px) {
  .student-login-page .sl-viewport {
    padding: 8px;
  }

  .student-login-page .sl-shell {
    height: min(560px, 100%);
  }

  .student-login-page .sl-login-panel {
    padding-block: 11px 9px;
  }

  .student-login-page .sl-login-main {
    padding-block: 12px 10px;
  }

  .student-login-page .sl-login-main h2 {
    margin-top: 0;
  }

  .student-login-page .sl-login-intro {
    margin-bottom: 9px;
  }

  .student-login-page .sl-login-form {
    gap: 8px;
  }

  .student-login-page .sl-help-line {
    margin-top: 7px;
  }

  .student-login-page .sl-login-bottom {
    margin-top: 9px;
    padding-top: 7px;
  }
}

@media (max-width: 760px) and (max-height: 570px) {
  .student-login-page .sl-mobile-brand > span {
    display: none;
  }

  .student-login-page .sl-login-panel {
    padding-block: 8px;
  }

  .student-login-page .sl-login-label {
    display: inline-flex;
  }

  .student-login-page .sl-login-main h2 {
    margin-top: 0;
  }

  .student-login-page .sl-login-intro {
    margin-bottom: 7px;
  }

  .student-login-page .sl-field-label {
    margin-bottom: 4px;
  }

  .student-login-page .sl-form-options {
    margin-top: 1px;
  }

  .student-login-page .sl-help-line {
    margin-top: 5px;
  }

  .student-login-page .sl-login-bottom {
    margin-top: 6px;
    padding-top: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .student-login-page *, .student-login-page *::before, .student-login-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* Short landscape screens: prioritise the form and keep all controls in view. */

@media (max-height: 570px) {
  .student-login-page .sl-viewport {
    padding: 8px;
  }

  .student-login-page .sl-shell {
    display: block;
    width: min(480px, 100%);
    height: 100%;
  }

  .student-login-page .sl-visual {
    display: none;
  }

  .student-login-page .sl-login-panel {
    height: 100%;
    padding: 8px 22px;
    gap: 0;
  }

  .student-login-page .sl-mobile-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .student-login-page .sl-mobile-brand a {
    display: inline-flex;
    width: 103px;
    align-items: center;
  }

  .student-login-page .sl-mobile-brand img {
    display: block;
    width: 100%;
    height: auto;
  }

  .student-login-page .sl-mobile-brand > span {
    display: none;
  }

  .student-login-page .sl-login-main {
    padding: 0;
    box-shadow: none;
    border: 0;
    background: transparent;
  }

  .student-login-page .sl-login-label {
    display: inline-flex;
    min-height: 28px;
    margin-bottom: 6px;
    padding-block: 4px;
  }

  .student-login-page .sl-login-label-icon-wrap {
    width: 21px;
    height: 21px;
    flex-basis: 21px;
  }

  .student-login-page .sl-login-label-icon {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
  }

  .student-login-page .sl-login-main h2 {
    margin: 0 0 8px;
    padding-bottom: 8px;
    font-size: 25px;
  }

  .student-login-page .sl-login-main h2::after {
    width: 96px;
    height: 3px;
    bottom: 1px;
  }

  .student-login-page .sl-login-intro {
    margin-bottom: 5px;
    font-size: 8.5px;
    line-height: 1.4;
  }

  .student-login-page .sl-login-form {
    gap: 5px;
  }

  .student-login-page .sl-field-label {
    margin-bottom: 3px;
  }

  .student-login-page .sl-input-wrap {
    min-height: 31px;
    padding-inline: 10px;
  }

  .student-login-page .sl-input-wrap input {
    height: 28px;
  }

  .student-login-page .sl-form-options {
    margin-top: 0;
  }

  .student-login-page .sl-submit-button {
    min-height: 33px;
  }

  .student-login-page .sl-submit-arrow {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .student-login-page .sl-help-line {
    display: none;
  }

  .student-login-page .sl-login-bottom {
    margin-top: 4px;
    padding-top: 4px;
  }

  .student-login-page.sl-status-visible .sl-login-label,
  .student-login-page.sl-status-visible .sl-login-intro,
  .student-login-page.sl-status-visible .sl-help-line {
    display: none !important;
  }

  .student-login-page.sl-status-visible .sl-login-status {
    padding: 5px 8px;
    font-size: 8px;
    line-height: 1.25;
  }
}
