/*
 * Custom component styles for CAO Ontrafeling.
 * Origin design system is loaded via origin.css; these are app-specific components.
 */

/* Stepper */
.stepper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.6rem 0;
}
.stepper__step {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-size: 1.4rem;
  color: #b7b7b7;
  font-weight: 400;
}
.stepper__step.-active {
  color: #111;
  font-weight: 700;
}
.stepper__step.-done {
  color: #111;
  font-weight: 400;
}
.stepper__circle {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 2px solid #b7b7b7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}
.stepper__step.-active .stepper__circle {
  border-color: #111;
  background: #111;
  color: #fff;
}
.stepper__step.-done .stepper__circle {
  border-color: #111;
  background: #111;
  color: #fff;
}
.stepper__line {
  flex: 1;
  height: 2px;
  background: #b7b7b7;
  margin: 0 .8rem;
}
.stepper__line.-done {
  background: #111;
}
/* Three labelled steps only just fit a phone, so the spacing gives way first. */
@media (max-width: 29.9em) {
  .stepper__step {
    gap: .4rem;
  }
  .stepper__line {
    margin: 0 .4rem;
  }
}

/* Manually changed indicator */
.manually-changed {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: 1.2rem;
  color: #1825aa;
  font-weight: 600;
}

.table-striped tbody tr:nth-child(even) {
  background-color: #fafafa;
}

/* Inline table for table-type arbeidsvoorwaarden */
.av-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
  margin-top: .8rem;
}
.av-table th {
  text-align: left;
  padding: .4rem .8rem;
  background: #f3f3f3;
  border-bottom: 2px solid #e7e7e7;
  font-weight: 700;
  color: #585858;
  white-space: nowrap;
}
.av-table td {
  padding: .4rem .8rem;
  border-bottom: 1px solid #e7e7e7;
  color: #111;
}
.av-table tr:last-child td {
  border-bottom: none;
}

/* Diff view */
.diff-item {
  padding: 1.6rem;
  border-bottom: 1px solid #e7e7e7;
}
.diff-item__old {
  text-decoration: line-through;
  color: #b7b7b7;
  font-size: 1.4rem;
}
.diff-item__new {
  color: #329938;
  font-weight: 600;
  font-size: 1.4rem;
}
.diff-item__delta {
  font-size: 1.2rem;
  color: #585858;
  margin-left: .4rem;
}
