/* ================================
   Trang Vinh Danh - Honor Page
   ================================ */
/* Header */
.vinh-danh-section {
  padding-top: 3.75rem;
  padding-bottom: 3.75rem;
}
.vinh-danh-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1.5rem;
}

.vinh-danh-header__subtitle {
  display: block;
  font-size: 1.125rem;
  font-weight: 400;
  color: #2e2e2e;
  margin-bottom: 0.5rem;
}

.vinh-danh-header__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--theme-color);
  text-transform: uppercase;
  margin: 0;
}

/* Filter buttons */
.vinh-danh-header__filters {
  display: flex;
  gap: 0.625rem;
  flex-shrink: 0;
}

.vinh-danh-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: 6.25rem;
  border: 1px solid #d1d5db;
  background: #fff;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
}

.vinh-danh-filter-btn:hover {
  border-color: var(--theme-color);
  color: var(--theme-color);
}

.vinh-danh-filter-btn.active {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
}

/* Tab content */
.vinh-danh-tab-content {
  display: none;
}

.vinh-danh-tab-content.active {
  display: block;
}

/* Table */
.vinh-danh-table-wrapper {
  overflow-x: auto;
}

.vinh-danh-table {
  width: 100%;
  border-collapse: collapse;
  border: none;
  margin: 0;
}

.vinh-danh-table thead tr {
  border-bottom: 1px solid #e5e7eb;
}

.vinh-danh-table th {
  padding: 0.875rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #9ca3af;
  text-align: left;
  border: none;
  white-space: nowrap;
}

.vinh-danh-table td {
  padding: 1rem 1.25rem;
  font-size: 0.9375rem;
  color: #1f2937;
  border: none;
  vertical-align: middle;
}

.vinh-danh-table tbody tr {
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s ease;
}

.vinh-danh-table tbody tr.row-highlight {
  background-color: #f9fafb;
}

.vinh-danh-table tbody tr:hover {
  background-color: #f0fdf4;
}

.vinh-danh-table .col-name {
  width: 25%;
}

.vinh-danh-table .col-code {
  width: 12%;
}

.vinh-danh-table .col-code code {
  font-size: 0.8125rem;
  color: #6b7280;
  background: #f3f4f6;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}

.vinh-danh-table .col-school {
  width: 40%;
}

.vinh-danh-table .col-province {
  width: 23%;
  text-align: right;
}

.vinh-danh-table th.col-province {
  text-align: right;
}

.vinh-danh-table .student-name {
  font-weight: 600;
  color: #111827;
}

a.student-name {
  text-decoration: none;
  color: #111827;
  transition: color 0.2s ease;
}

a.student-name:hover {
  color: var(--theme-color);
  text-decoration: underline;
}

/* Empty state */
.vinh-danh-empty {
  text-align: center;
  padding: 3.75rem 1.25rem;
  color: #6b7280;
}

.vinh-danh-empty p {
  font-size: 1rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 767.98px) {
  .banner-page {
    height: 10rem !important;
  }
  .vinh-danh-section {
    padding-top: 50px !important;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 50px !important;
  }
  .vinh-danh-header {
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column;
    align-items: flex-start;
  }

  .vinh-danh-header__title {
    font-size: 1.5rem;
  }

  .vinh-danh-header__filters {
    width: 100%;
  }

  .vinh-danh-filter-btn {
    flex: 1;
    text-align: center;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
  }

  .vinh-danh-table th,
  .vinh-danh-table td {
    padding: 0.75rem 0.625rem;
    font-size: 0.8125rem;
  }

  .vinh-danh-table .col-province {
    display: none;
  }

  .vinh-danh-table .col-code {
    width: 20%;
  }

  .vinh-danh-table .col-name {
    width: 35%;
  }

  .vinh-danh-table .col-school {
    width: 45%;
  }
}
