/* Form pages use a white .content-section on a dark themed body.
   Load this after the tournament theme stylesheet. */

.content-section {
  color: #333333 !important;
}

.content-section p,
.content-section label,
.content-section li,
.content-section .helptext,
.content-section .form-text {
  color: #333333 !important;
}

.content-section .text-muted {
  color: #6c757d !important;
}

.content-section a:not(.btn) {
  color: #007bff !important;
}

.content-section .form-control {
  color: #333333 !important;
  background-color: #ffffff !important;
  border: 1px solid #ced4da !important;
}

.content-section .form-group {
  margin-bottom: 1rem;
}

.content-section .form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.content-section ul.errorlist {
  display: block;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  color: #dc3545 !important;
  font-size: 0.875rem;
}

.content-section ul:not(.errorlist) {
  display: block;
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.content-section ul:not(.errorlist) li {
  display: list-item;
  margin: 0.25rem 0;
  color: #333333 !important;
}

.content-section .helptext ul {
  margin-top: 0.25rem;
  padding-left: 1.25rem;
}

.content-section .helptext li {
  display: list-item;
  color: #6c757d !important;
  font-size: 0.875rem;
}

.pick-overlap-panel {
  padding: 1rem 1.25rem;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}

.pick-overlap-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.pick-overlap-name {
  flex: 0 0 8rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pick-overlap-bar-wrap {
  flex: 1;
  height: 0.5rem;
  background: #e9ecef;
  border-radius: 0.25rem;
  overflow: hidden;
}

.pick-overlap-bar {
  display: block;
  height: 100%;
  background: #28a745;
  border-radius: 0.25rem;
  min-width: 4px;
}

.pick-overlap-count {
  flex: 0 0 2.5rem;
  text-align: right;
  color: #6c757d;
  font-size: 0.85rem;
}
