body.student-login-page {
  min-height: 100svh;
  color: #172033;
  background: #fffdfd;
}

body.student-login-page ::selection {
  color: #ffffff;
  background: #be185d;
}

.student-login-shell {
  display: flex;
  min-height: 100svh;
  padding: clamp(10px, 2vh, 20px) 16px;
}

.student-login {
  --preview-height: clamp(250px, 42svh, 330px);
  width: min(100%, 500px);
  padding: clamp(24px, 3vh, 32px) clamp(16px, 4vw, 34px) 14px;
  border: 1px solid #f3e4e9;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(23, 32, 51, 0.07);
  margin: auto;
  text-align: center;
}

.student-login [hidden] {
  display: none !important;
}

.student-login-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.student-login-brand img {
  width: auto;
  height: clamp(32px, 4.5vh, 38px);
}

.student-login-brand:focus-visible,
.student-login button:focus-visible,
.student-login-footer a:focus-visible {
  outline: 3px solid rgba(233, 30, 99, 0.24);
  outline-offset: 3px;
}

.student-login-carousel {
  max-width: 100%;
  margin-top: 2px;
  touch-action: pan-y;
}

.student-login-carousel-stage {
  position: relative;
  height: var(--preview-height);
  overflow: hidden;
}

.student-login-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: start center;
  visibility: hidden;
  opacity: 0;
  transform: translateX(10px);
  transition:
    opacity 260ms ease,
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 340ms;
}

.student-login-slide.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0s;
}

.student-login-slide-media {
  display: grid;
  width: 100%;
  height: var(--preview-height);
  place-items: start center;
  overflow: hidden;
}

.student-login-slide-media img {
  width: clamp(310px, 55vw, 430px);
  max-width: calc(100vw - 26px);
  height: auto;
  object-fit: contain;
  transform: translateY(-3%);
}

.student-login-carousel-indicators {
  display: flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.student-login-carousel-indicator {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d7dce4;
  cursor: pointer;
  transition:
    width 220ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 220ms ease;
}

.student-login-carousel-indicator.is-active {
  width: 20px;
  background: #e91e63;
}

.student-login-method-chooser,
.student-login-email-panel {
  display: grid;
  width: min(100%, 400px);
  margin-inline: auto;
}

.student-login-google {
  display: grid;
  width: 100%;
  min-height: 44px;
  justify-items: center;
  margin-top: 6px;
}

.student-login-google-button {
  display: grid;
  width: 100%;
  min-height: 48px;
  place-items: center;
  border-radius: 999px;
}

.student-login-google-button .g_id_signin {
  min-height: 44px;
}

.student-login-google-helper {
  max-width: 100%;
  margin: 7px 0 0;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 550;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-align: center;
}

.student-login-divider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin: 14px 0;
  color: #667085;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.student-login-divider::before,
.student-login-divider::after {
  height: 1px;
  background: #e5e7eb;
  content: "";
}

.student-login-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.student-login-secondary-button {
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid #d0d5dd;
  border-radius: 999px;
  color: #172033;
  background: #ffffff;
  font-size: 0.9rem;
  line-height: 1.25;
}

.student-login-secondary-button:hover {
  border-color: #e91e63;
  color: #be185d;
  background: #fff8fa;
}

.student-login-email-panel {
  gap: 14px;
  padding-top: clamp(20px, 5vh, 42px);
}

.student-login-heading {
  display: grid;
  gap: 6px;
}

.student-login-heading h1,
.student-login-heading p {
  margin: 0;
}

.student-login-heading h1 {
  color: #172033;
  font-size: clamp(1.45rem, 4vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.student-login-heading p {
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.45;
}

.student-login-alert {
  width: 100%;
  margin: 0;
  text-align: left;
}

.student-login-form {
  width: 100%;
  margin: 0;
  text-align: left;
}

.student-login-form input::placeholder {
  color: #697386;
  opacity: 1;
}

.student-login-submit {
  min-height: 48px;
  border-radius: 999px;
}

.student-login-google-compact {
  margin-top: 0;
}

.student-login-footer svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.student-login-footer {
  margin-top: 10px;
}

.student-login-footer a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 5px;
  border-radius: 7px;
  color: #667085;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.student-login-footer a:hover {
  color: #be185d;
}

@media (max-width: 640px) {
  .student-login-shell {
    padding: 8px 16px 14px;
  }

  .student-login {
    --preview-height: clamp(228px, 40svh, 310px);
    width: 100%;
    padding: 6px 0 4px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .student-login-brand img {
    height: 33px;
  }

  .student-login-carousel-stage {
    margin-inline: -8px;
  }

  .student-login-slide-media img {
    width: min(108vw, 390px);
    max-width: none;
  }

  .student-login-email-panel {
    padding-top: clamp(18px, 4vh, 32px);
  }

  .student-login-footer {
    margin-top: 8px;
  }
}

@media (max-width: 360px) {
  .student-login-shell {
    padding-inline: 14px;
  }

  .student-login {
    --preview-height: clamp(210px, 38svh, 245px);
  }

  .student-login-slide-media img {
    width: min(112vw, 355px);
  }

  .student-login-secondary-button {
    min-height: 50px;
    padding-inline: 14px;
    font-size: 0.84rem;
  }

  .student-login-google-helper {
    font-size: 0.75rem;
  }

  .student-login-divider {
    margin-block: 12px;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .student-login {
    --preview-height: clamp(275px, 39svh, 325px);
  }
}

@media (max-height: 780px) {
  .student-login-shell {
    padding-block: 8px;
  }

  .student-login {
    --preview-height: clamp(220px, 39svh, 285px);
    padding-top: clamp(18px, 3vh, 24px);
  }

  .student-login-brand img {
    height: 32px;
  }

  .student-login-carousel-indicators {
    min-height: 20px;
  }

  .student-login-google {
    margin-top: 3px;
  }

  .student-login-divider {
    margin-block: 11px;
  }

  .student-login-footer {
    margin-top: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .student-login-slide,
  .student-login-carousel-indicator,
  .student-login-secondary-button {
    scroll-behavior: auto;
    transition: none;
  }
}
