/* Student login */
.student-auth-page {
  min-height: 100vh;
  background: #f8fafc;
}

.student-auth-shell {
  min-height: 100vh;
  display: grid;
}

@media (min-width: 1024px) {
  .student-auth-shell {
    grid-template-columns: 1.05fr 1fr;
  }
}

.student-auth-hero {
  display: none;
  background: linear-gradient(145deg, #0b1b3a 0%, #122548 45%, #1d4ed8 100%);
  color: #fff;
  padding: 3rem 2.5rem;
}

@media (min-width: 1024px) {
  .student-auth-hero {
    display: flex;
    align-items: center;
  }
}

.student-auth-hero__inner {
  max-width: 34rem;
}

.student-auth-hero__logo.brand-logo {
  margin-bottom: 2rem;
}

.student-auth-hero__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.student-auth-hero__title {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
}

.student-auth-hero__lead {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.student-auth-hero__features {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.75rem;
}

.student-auth-hero__features li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.88);
}

.student-auth-hero__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: #60a5fa;
}

.student-auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.student-auth-panel__card {
  width: min(100%, 28rem);
  border-radius: 1.25rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  padding: 2rem 1.75rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.student-auth-panel__title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
}

.student-auth-panel__subtitle {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  color: #64748b;
}

.student-auth-form {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}

.student-auth-label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #334155;
}

.student-auth-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.75rem;
  padding: 0.72rem 0.85rem;
  font-size: 0.9375rem;
  color: #0f172a;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.student-auth-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.student-auth-input--error {
  border-color: #ef4444;
}

.student-auth-error {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: #dc2626;
}

.student-auth-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: #475569;
}

.student-auth-submit {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
  transition: filter 0.15s ease;
}

.student-auth-submit:hover {
  filter: brightness(1.05);
}

.student-auth-footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
  text-align: center;
  font-size: 0.875rem;
  color: #64748b;
}

.student-auth-link {
  font-weight: 600;
  color: #2563eb;
}

.student-auth-link:hover {
  text-decoration: underline;
}

.student-auth-alert {
  margin-top: 1rem;
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
  font-size: 0.8125rem;
}

.student-auth-alert--success {
  background: #ecfdf5;
  color: #047857;
}

.student-auth-panel__logo {
  margin-bottom: 1rem;
}

.student-auth-panel__tools {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
