/* Minimal overrides on top of Pico CSS */

/* Priority badge colors */
.badge {
  display: inline-block;
  padding: 0.15em 0.55em;
  border-radius: 4px;
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-a {
  background-color: #2e7d32;
  color: #fff;
}

.badge-b {
  background-color: #1565c0;
  color: #fff;
}

.badge-c {
  background-color: #e65100;
  color: #fff;
}

.badge-d {
  background-color: #757575;
  color: #fff;
}

.badge-f {
  background-color: #c62828;
  color: #fff;
}

/* Wizard step indicator */
.wizard-steps {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  list-style: none;
  padding: 0;
}

.wizard-steps li {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: var(--muted-color, #888);
}

.wizard-steps li.active {
  color: var(--primary, #1095c1);
  font-weight: 600;
}

.wizard-steps li.completed {
  color: #2e7d32;
}

.wizard-steps li + li::before {
  content: "—";
  margin-right: 0.25rem;
  color: var(--muted-color, #888);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  border: 2px solid currentColor;
  font-size: 0.8em;
}

.wizard-steps li.active .step-number {
  background-color: var(--primary, #1095c1);
  color: #fff;
  border-color: var(--primary, #1095c1);
}

.wizard-steps li.completed .step-number {
  background-color: #2e7d32;
  color: #fff;
  border-color: #2e7d32;
}

/* Dashboard table tweaks */
.jobs-table {
  font-size: 0.9rem;
}

.jobs-table th {
  white-space: nowrap;
}

.jobs-table td {
  vertical-align: middle;
}

.jobs-table .title-cell {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jobs-table .company-cell {
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Flash messages */
.flash {
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.flash-success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border-color: #a5d6a7;
}

.flash-error {
  background-color: #ffebee;
  color: #c62828;
  border-color: #ef9a9a;
}

.flash-info {
  background-color: #e3f2fd;
  color: #1565c0;
  border-color: #90caf9;
}
