
/* CARD */
.student-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* TITLE */
.student-title {
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 25px;
}

/* TABLE */
.student-table {
  width: 100%;
  border-collapse: collapse;
}

/* ROW */
.student-table tr {
  border-bottom: 1px solid #eee;
}

/* CELLS */
.student-table td {
  padding: 14px;
  vertical-align: middle;
}

/* LEFT COLUMN (YEAR) */
.student-table td:first-child {
  font-weight: 600;
}

/* RIGHT COLUMN (BUTTON ALIGN RIGHT) */
.student-table td:last-child {
  text-align: right;
}

/* SECTION HEAD */
.section-head td {
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-red));
  color: #fff;
  font-weight: 700;
  text-align: center !important;
  border-radius: 6px;
}

.section-head:hover td {
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-red));
  color: #fff;
}

/* BUTTON STYLE (BLUE DEFAULT) */
.student-table a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary-blue);
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* HOVER (RED) */
.student-table a:hover {
  background: var(--accent-red);
  color: #fff;
}

/* ROW HOVER EFFECT */


/* MOBILE */
@media (max-width: 768px) {

  .student-table td {
    display: block;
    width: 100%;
  }

  .student-table td:last-child {
    text-align: left;
    margin-top: 8px;
  }

}