/* Programs / Teams pages shared styling */

.pm-page-header {
  color: #003366;
  font-weight: 400;
  font-size: 3rem;
  border-bottom: 1px solid var(--c-bg);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.pm-header-actions {
  text-align: right;
}

.pm-divider {
  display: none;
}

.pm-meta-row {
  color: #003366;
  margin-bottom: 20px;
}

.pm-section-title {
  color: #003366;
  font-weight: 700;
  font-size: 2rem;
  margin-top: 30px;
}

.pm-empty-state {
  color: #003366;
  font-weight: 700;
  font-size: 1.5rem;
  text-align: center;
}

/* Hover + options styling (apply on tables that opt-in via class) */
.pm-hover-table tbody tr:hover {
  background-color: rgba(0, 51, 102, 0.1) !important;
  cursor: pointer;
}

.pm-hover-table tbody tr td h4 a:hover {
  text-decoration: underline !important;
}

.pm-options-cell {
  white-space: nowrap;
}

.pm-options-cell .btn {
  display: inline-block;
  margin-right: 0.5rem;
}

.pm-options-cell .btn:last-child {
  margin-right: 0;
}

/* Program list: show event date on the right of the name */
.pm-program-name-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.pm-program-event-date {
  color: #003366;
  opacity: 0.85;
  font-weight: 600;
  white-space: nowrap;
}

/* Member pills */
.pm-member-pill {
  padding: 3px 8px;
  background-color: #003366;
  color: #fff;
  border-radius: 8px;
  margin-right: 5px;
  display: inline-block;
  margin-bottom: 5px;
}

.pm-no-members {
  color: #888;
}

.pm-inline-form {
  display: inline;
}

/* Simple page titles used on create/edit pages */
.pm-form-title {
  color: #003366;
  font-weight: 400;
  font-size: 3rem;
  border-bottom: 1px solid white;
}
