/* Connected status/action control: the cutoff value and its selector are one unit. */
.cutoff-control {
  display: inline-flex;
  align-items: stretch;
  min-height: 58px;
  border: 1px solid #d7e0ec;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 12px rgb(31 55 86 / 8%);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
  margin-bottom: 20px;
}

.cutoff-control:hover {
  border-color: #9bb8dd;
  box-shadow: 0 5px 16px rgb(31 55 86 / 13%);
  transform: translateY(-1px);
}

.cutoff-control-status {
  display: flex;
  min-width: 178px;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  padding: 9px 16px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
}

.cutoff-control-label {
  color: #61738a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cutoff-control-value {
  margin: 0;
  color: #19324f;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.cutoff-control .cutoff-selector-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-left: 1px solid #d7e0ec;
  border-radius: 0;
  padding: 0 15px;
  color: #245a9b;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.cutoff-control-icon {
  color: #3b82f6;
  font-size: 18px;
}

.cutoff-control-chevron {
  color: #8ca1bb;
  font-size: 10px;
  transition: transform 160ms ease;
}

.cutoff-control .cutoff-selector-button:hover .cutoff-control-chevron,
.cutoff-control .cutoff-selector-button:focus .cutoff-control-chevron {
  transform: translateX(2px);
}

@media (width <= 480px) {
  .cutoff-control-status {
    min-width: 0;
    padding-inline: 12px;
  }

  .cutoff-control .cutoff-selector-button {
    padding-inline: 12px;
  }

  .cutoff-control-action-label {
    display: none;
  }
}
