.demand-statuses-table__drag-column {
  width: 3.25rem;
  text-align: center;
}

.demand-status-drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: .5rem;
  color: #667085;
  background: transparent;
  cursor: grab;
  touch-action: none;
}

.demand-status-drag-handle:hover,
.demand-status-drag-handle:focus-visible {
  color: var(--bs-primary, #0b3a75);
  background: rgba(13, 74, 148, .08);
}

.demand-status-drag-handle:active {
  cursor: grabbing;
}

.demand-status-drag-handle:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.demand-status-row--dragging {
  opacity: .55;
  background: rgba(13, 74, 148, .06);
}

.demand-status-row--drop-before > td {
  border-top: 3px solid var(--bs-primary, #0b3a75) !important;
}

.demand-status-row--drop-after > td {
  border-bottom: 3px solid var(--bs-primary, #0b3a75) !important;
}

.demand-statuses-order-help {
  color: #667085;
  font-size: .875rem;
}

body.theme-dark .demand-status-drag-handle {
  color: #aab3c5;
}

body.theme-dark .demand-status-drag-handle:hover,
body.theme-dark .demand-status-drag-handle:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}

.demand-initial-status-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: .625rem;
}

.demand-initial-status-field > legend.form-label {
  float: none;
  width: auto;
  padding: 0;
  color: var(--ictus-graphite, #25324b);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
}

.demand-initial-status-option {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  padding: .7rem 2.25rem .7rem .8rem;
  border: 2px solid #d0d5dd;
  border-radius: .75rem;
  color: #344054;
  background: #fff;
  text-align: left;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.demand-initial-status-option:not(:disabled):hover,
.demand-initial-status-option:not(:disabled):focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 .25rem .8rem rgba(16, 24, 40, .1);
}

.demand-initial-status-option.is-selected {
  color: #07366d;
  background: #eef7ff;
  box-shadow: 0 0 0 2px rgba(13, 74, 148, .12);
}

.demand-initial-status-option.is-disabled {
  opacity: .55;
  cursor: not-allowed;
}

.demand-initial-status-option__color {
  flex: 0 0 auto;
  width: .8rem;
  height: .8rem;
  margin-right: .6rem;
  border: 1px solid rgba(16, 24, 40, .18);
  border-radius: 50%;
}

.demand-initial-status-option__name {
  min-width: 0;
  font-weight: 600;
  line-height: 1.25;
}

.demand-initial-status-option__check {
  position: absolute;
  right: .75rem;
  color: #0d4a94;
  font-size: 1.1rem;
}

body.theme-dark .demand-initial-status-option {
  color: #e7eaf0;
  background: #202634;
}

body.theme-dark .demand-initial-status-option.is-selected {
  color: #fff;
  background: #173456;
}

@media (max-width: 767.98px) {
  .demand-initial-status-picker {
    grid-template-columns: 1fr;
  }
}
