.admin-page-header {
  padding: 20px;
  border-radius: 18px;
  border: 1px solid var(--surface-card-border);
  background: var(--surface-card);
  box-shadow: var(--surface-card-shadow);
}

.admin-page-header h1 {
  margin: 8px 0 4px;
  font-size: 27px;
  letter-spacing: -0.02em;
}

.admin-page-header p {
  color: var(--theme-gray-500);
  font-size: 14px;
}

.admin-page-header--with-actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-page-header__toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.admin-page-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--theme-gray-200);
  background: var(--theme-white);
  color: var(--theme-gray-600);
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Usually combined with .dashboard-section — only tweak radius */
.admin-panel {
  border-radius: 18px;
}

.admin-outline-button {
  border: 1px solid var(--theme-gray-200);
  border-radius: 10px;
  padding: 8px 12px;
  background: var(--theme-white);
  color: var(--theme-black);
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}

.admin-outline-button:hover {
  background: var(--theme-gray-50);
}

.admin-action-button {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, var(--theme-maroon-bright) 0%, var(--theme-maroon-deep) 100%);
  color: var(--theme-white);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 7px 10px;
}

.admin-action-button:hover {
  filter: brightness(1.08);
}

.admin-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-table-meta {
  font-size: 13px;
  color: var(--theme-gray-500);
}

.admin-table-search {
  border: 1px solid var(--theme-gray-200);
  background: var(--theme-white);
  border-radius: 10px;
  padding: 8px 10px;
  min-width: 230px;
  font-size: 13px;
  color: var(--theme-black);
}

.admin-table-search:focus-visible {
  outline: 2px solid var(--theme-gray-400);
  outline-offset: 1px;
}

.admin-pending-table-wrapper {
  overflow-x: auto;
}

.admin-pending-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 980px;
}

.admin-pending-table th,
.admin-pending-table td {
  border-bottom: 1px solid var(--theme-gray-100);
  padding: 10px 8px;
  font-size: 13px;
  vertical-align: middle;
}

.admin-pending-table th {
  background: var(--theme-gray-50);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  color: var(--theme-gray-500);
  text-align: left;
}

@media (max-width: 600px) {
  .admin-page-header--with-actions {
    flex-direction: column;
  }

  .admin-table-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-table-search {
    min-width: 0;
    width: 100%;
  }
}
