.outstanding-students-page {
    background:
      radial-gradient(circle at top left, rgba(13, 110, 253, 0.08), transparent 24%),
      radial-gradient(circle at top right, rgba(102, 16, 242, 0.08), transparent 20%),
      linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
    min-height: 100vh;
  }

  .students-hero {
    background: linear-gradient(135deg, #0d3b8e 0%, #3b1f8f 100%);
    color: #fff;
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 20px 55px rgba(15, 23, 42, 0.16);
    position: relative;
    overflow: hidden;
  }

  .students-hero::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    top: -80px;
    right: -70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
  }

  .students-hero::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    bottom: -50px;
    left: -40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
  }

  .students-hero > .row {
    position: relative;
    z-index: 1;
  }

  .students-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-weight: 700;
    font-size: 0.92rem;
  }

  .students-title {
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0;
  }

  .students-subtitle {
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(255,255,255,0.9);
    max-width: 860px;
  }

  .students-highlight-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 1.5rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
  }

  .highlight-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.16);
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .students-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .summary-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.7rem 1rem;
    font-weight: 700;
    background: rgba(13,110,253,0.10);
    color: #0d4fd6;
  }

  .summary-pill.soft {
    background: rgba(15,23,42,0.07);
    color: #334155;
  }

  .student-spotlight-list {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
  }

  .student-spotlight-card {
    --card-accent: #0d6efd;
    --card-accent-rgb: 13, 110, 253;
    width: 70%;
    min-height: 304px;
    background: rgba(255,255,255,0.94);
    border: 0;
    border-radius: 1.6rem;
    overflow: hidden;
    position: relative;
    isolation: isolate;
    box-shadow:
      0 18px 42px rgba(15, 23, 42, 0.10),
      0 4px 14px rgba(var(--card-accent-rgb), 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .student-spotlight-card:nth-child(4n + 1) {
    --card-accent: #0d6efd;
    --card-accent-rgb: 13, 110, 253;
  }

  .student-spotlight-card:nth-child(4n + 2) {
    --card-accent: #7c3aed;
    --card-accent-rgb: 124, 58, 237;
  }

  .student-spotlight-card:nth-child(4n + 3) {
    --card-accent: #db2777;
    --card-accent-rgb: 219, 39, 119;
  }

  .student-spotlight-card:nth-child(4n) {
    --card-accent: #059669;
    --card-accent-rgb: 5, 150, 105;
  }

  .student-spotlight-card.layout-normal {
    margin-right: auto;
  }

  .student-spotlight-card.layout-reverse {
    margin-left: auto;
  }

  .student-spotlight-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: 24%;
    bottom: -120px;
    border-radius: 50%;
    background: rgba(var(--card-accent-rgb), 0.10);
    filter: blur(4px);
    z-index: -1;
  }

  .student-spotlight-card:hover {
    transform: translateY(-6px);
    box-shadow:
      0 26px 55px rgba(15, 23, 42, 0.14),
      0 8px 24px rgba(var(--card-accent-rgb), 0.14);
  }

  .student-spotlight-card > .row {
    min-height: 304px;
  }

  .student-photo-panel {
    height: 100%;
    background:
      radial-gradient(circle at 50% 20%, rgba(var(--card-accent-rgb), 0.14), transparent 48%),
      linear-gradient(160deg, #f8fbff 0%, #edf3fa 100%);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .student-photo-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
  }

  .student-photo {
    width: 176px;
    height: 176px;
    object-fit: cover;
    border-radius: 1.2rem;
    border: 4px solid #fff;
    box-shadow:
      0 13px 28px rgba(15, 23, 42, 0.14),
      0 0 0 2px rgba(var(--card-accent-rgb), 0.14);
    background: #fff;
  }

  .student-meta {
    text-align: center;
  }

  .student-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
  }

  .student-meta-item {
    color: #475569;
    margin-bottom: 0.25rem;
    line-height: 1.4;
    font-size: 0.85rem;
    font-weight: 500;
  }

  .student-gpa-pill {
    margin-top: 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--card-accent), #312e81);
    color: #fff;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(var(--card-accent-rgb), 0.22);
  }

  .student-achievement-panel {
    height: 100%;
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
      linear-gradient(135deg, rgba(var(--card-accent-rgb), 0.035), transparent 46%),
      linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    position: relative;
  }

  .layout-normal .student-achievement-panel {
    border-top: 4px solid var(--card-accent);
    border-right: 4px solid var(--card-accent);
    border-radius: 0 1.6rem 1.6rem 0;
  }

  .layout-reverse .student-achievement-panel {
    border-top: 4px solid var(--card-accent);
    border-left: 4px solid var(--card-accent);
    border-radius: 1.6rem 0 0 1.6rem;
  }

  .student-rank {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    color: rgba(var(--card-accent-rgb), 0.14);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.08em;
  }

  .layout-reverse .student-rank {
    right: auto;
    left: 1.25rem;
  }

  .achievement-header {
    margin-bottom: 0.75rem;
  }

  .achievement-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    background: rgba(var(--card-accent-rgb), 0.10);
    color: var(--card-accent);
    font-size: 0.82rem;
    font-weight: 700;
  }

  .achievement-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.65rem;
    max-width: 86%;
  }

  .achievement-text {
    color: #64748b;
    line-height: 1.65;
    font-size: 0.9rem;
    margin-bottom: 0;
  }

  .layout-reverse .row {
    flex-direction: row-reverse;
  }

  .empty-students-state {
    background: rgba(255,255,255,0.92);
    border: 1px dashed rgba(13,110,253,0.18);
    border-radius: 1.5rem;
    padding: 3rem 1.5rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  }

  .empty-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(13,110,253,0.12), rgba(102,16,242,0.10));
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
  }

  .modern-pagination .page-link {
    border-radius: 999px !important;
    margin: 0 0.18rem;
    border: 1px solid rgba(13, 110, 253, 0.12);
    color: #0d6efd;
    padding: 0.6rem 0.9rem;
  }

  .modern-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    border-color: transparent;
    color: #fff;
  }

  @media (max-width: 991.98px) {
    .students-hero {
      padding: 1.75rem;
    }

    .layout-reverse .row {
      flex-direction: row;
    }

    .student-spotlight-card {
      width: 86%;
    }

    .student-spotlight-card > .row {
      min-height: auto;
    }

    .student-achievement-panel {
      padding: 1.5rem;
    }

    .layout-normal .student-achievement-panel,
    .layout-reverse .student-achievement-panel {
      border: 0;
      border-top: 4px solid var(--card-accent);
      border-right: 4px solid var(--card-accent);
      border-radius: 0 0 1.6rem 1.6rem;
    }
  }

  @media (max-width: 575.98px) {
    .students-title {
      font-size: 1.7rem;
    }

    .student-spotlight-card {
      width: 100%;
    }

    .student-photo {
      width: 160px;
      height: 160px;
    }

    .achievement-title {
      font-size: 1.2rem;
    }
  }
