/* Commissioner's Home Page -- legacy modernized this as a row of dropdown-toggle buttons revealing a menu on
   click (commish_home_modern.css). This instead lays every category out as its own always-visible card in a
   responsive grid, so every destination is scannable at a glance without an extra click -- same links, same
   destinations, different interaction. Uses the app's established --ptfg-red accent (matching the Commish nav
   tab's own color) instead of the navy used by most other pages, so this section reads as visually distinct
   "commish territory". */

.commishHomePage {
  max-width: 800px;
}

.commishHomePage #pageTitle {
  margin-bottom: 12px;
}

.commishHomePage .configSettingsCheck {
  max-width: 700px;
  margin-bottom: 16px;
  padding: 10px 16px;
}

.commishHomePage .commishSeasonRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.commishHomePage .commishSeasonBadge {
  display: inline-block;
  padding: 5px 14px;
  background: var(--ptfg-red);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(195, 9, 0, 0.25);
}

.commishHomePage .commishBulletinNote {
  font-size: 13px;
  color: var(--ptfg-text-muted);
}

.commishHomePage .commishDashboardGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.commishHomePage .commishCard {
  border: 1px solid var(--ptfg-border);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(11, 26, 103, 0.06);
  overflow: hidden;
}

.commishHomePage .commishCardHeader {
  padding: 8px 14px;
  background: var(--ptfg-bg-red-tint);
  color: var(--ptfg-red-text);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 1px solid var(--ptfg-border);
}

.commishHomePage .commishCardLinks {
  display: flex;
  flex-direction: column;
  padding: 6px 0;
}

.commishHomePage .commishCardLinks a,
.commishHomePage .commishCardLinkDisabled {
  padding: 6px 14px;
  font-size: 13px;
  text-decoration: none;
}

.commishHomePage .commishCardLinks a {
  color: var(--ptfg-navy);
  font-weight: 600;
}

.commishHomePage .commishCardLinks a:hover {
  background: var(--ptfg-bg-hover);
  text-decoration: underline;
}

.commishHomePage .commishCardLinkDisabled {
  color: var(--ptfg-text-faint);
  cursor: not-allowed;
}

.commishHomePage .commishActionsRow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.commishHomePage .commishActionButton {
  display: inline-block;
  padding: 8px 18px;
  background: var(--ptfg-red);
  color: #fff;
  border: 1px solid var(--ptfg-red);
  border-radius: 6px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(195, 9, 0, 0.25);
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.commishHomePage .commishActionButton:hover {
  background: #a30800;
  border-color: #a30800;
  box-shadow: 0 2px 6px rgba(195, 9, 0, 0.3);
  color: #fff;
}

.commishHomePage .commishActionButtonDisabled {
  background: var(--ptfg-text-faint);
  border-color: var(--ptfg-text-faint);
  box-shadow: none;
  cursor: not-allowed;
}

.commishHomePage .commishActionButtonDisabled:hover {
  background: var(--ptfg-text-faint);
  border-color: var(--ptfg-text-faint);
  box-shadow: none;
}
