:root {
  --student-bg: #f5f3ef;
  --student-surface: #ffffff;
  --student-ink: #1b1b1f;
  --student-muted: #5b5f6b;
  --student-accent: #2f5bff;
  --student-accent-dark: #243ecf;
  --student-accent-soft: #e6ebff;
  --student-border: #e3e1dc;
  --student-shadow: 0 18px 40px rgba(20, 23, 38, 0.08);
}

body.student-shell {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--student-bg);
  color: var(--student-ink);
}

.student-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 243, 239, 0.95);
  border-bottom: 1px solid var(--student-border);
  backdrop-filter: blur(10px);
}

.student-header .student-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.student-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--student-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.student-brand img {
  height: 34px;
}

.student-nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.student-nav-links a {
  text-decoration: none;
  color: var(--student-muted);
  font-weight: 500;
}

.student-nav-links a:hover {
  color: var(--student-ink);
}

.student-nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.student-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  transition: all 0.2s ease;
}

.student-btn.primary {
  background: var(--student-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 91, 255, 0.25);
}

.student-btn.primary:hover {
  background: var(--student-accent-dark);
  color: #fff;
}

.student-btn.ghost {
  background: transparent;
  border-color: var(--student-border);
  color: var(--student-ink);
}

.student-btn.ghost:hover {
  border-color: var(--student-ink);
  color: var(--student-ink);
}

.student-main {
  padding: 48px 0 72px;
}

.student-hero {
  background: radial-gradient(circle at top left, #fff7e1 0%, #f5f3ef 52%, #e8eefc 100%);
  border-radius: 32px;
  padding: 48px;
  box-shadow: var(--student-shadow);
}

.student-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: center;
}

.student-hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.2rem, 3vw, 3.6rem);
  margin-bottom: 16px;
}

.student-hero p {
  font-size: 1.05rem;
  color: var(--student-muted);
  margin-bottom: 24px;
}

.student-hero-card {
  background: var(--student-surface);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--student-border);
  box-shadow: var(--student-shadow);
}

.student-section {
  margin-top: 64px;
}

.student-section h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  margin-bottom: 12px;
}

.student-section p.section-lead {
  color: var(--student-muted);
  margin-bottom: 28px;
}

.student-grid {
  display: grid;
  gap: 20px;
}

.student-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.student-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.student-card {
  background: var(--student-surface);
  border-radius: 20px;
  padding: 22px;
  border: 1px solid var(--student-border);
  box-shadow: var(--student-shadow);
}

.student-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.student-card p {
  color: var(--student-muted);
  margin: 0;
}

.student-cta {
  margin-top: 64px;
  background: #11131d;
  color: #fff;
  border-radius: 28px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.student-cta p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.student-cta .student-btn.primary {
  box-shadow: none;
}

.student-form {
  background: var(--student-surface);
  border-radius: 24px;
  padding: 28px;
  border: 1px solid var(--student-border);
  box-shadow: var(--student-shadow);
}

.student-form .form-label {
  font-weight: 600;
}

.student-form .form-control,
.student-form .form-select {
  border-radius: 12px;
  padding: 10px 12px;
}

.student-footer {
  border-top: 1px solid var(--student-border);
  padding: 32px 0;
  color: var(--student-muted);
}

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

.student-dashboard-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.student-dashboard-card {
  background: var(--student-surface);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--student-border);
  box-shadow: var(--student-shadow);
  text-decoration: none;
  color: var(--student-ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.student-dashboard-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(20, 23, 38, 0.12);
}

.student-dashboard-card .icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--student-accent-soft);
  color: var(--student-accent);
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.student-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.student-alert {
  border-radius: 12px;
  padding: 12px 16px;
  background: #ffeded;
  border: 1px solid #ffbaba;
  color: #a12929;
}

@media (max-width: 991px) {
  .student-hero-grid {
    grid-template-columns: 1fr;
  }

  .student-grid.cols-3,
  .student-grid.cols-2 {
    grid-template-columns: 1fr;
  }

  .student-nav-links {
    display: none;
  }

  .student-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}
