.pisell-sale-detail-dish {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;

  &__body {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    flex-direction: column;
    padding: 8px 10px;
  }

  &__content {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    scrollbar-width: none;
  }

  &__content::-webkit-scrollbar {
    display: none;
  }

  &__unsupported {
    display: flex;
    flex: 1 1 auto;
    min-height: 220px;
    align-items: center;
    justify-content: center;
    margin: 8px 10px;
    border: 1px dashed rgba(93, 112, 157, 0.56);
    border-radius: 8px;
    background: #080d18;

    .pisell-empty-wrap,
    .pisell-empty-wrap-description {
      color: rgba(234, 240, 255, 0.72);
    }
  }

  &__note {
    display: flex;
    min-height: 0;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px 14px;
  }

  &__note .pisell-lowcode-alert-content {
    min-width: 0;
  }

  &__note .pisell-lowcode-alert-message {
    margin-bottom: 0;
    line-height: 20px;
  }

  &__note .pisell-lowcode-alert-description {
    display: none;
  }

  &__divider {
    margin: 4px 0 12px;
    border-color: rgba(255, 255, 255, 0.1);
  }

  &__serving-time {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
  }

  &__time-actions {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
  }

  &__serving-label {
    color: #f5f7ff;
    font-size: 16px;
    font-weight: 800;
  }

  &__remaining {
    color: rgba(234, 240, 255, 0.72);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
  }

  &__time-picker {
    width: fit-content;
    min-width: 0;
    flex: 0 0 auto;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  &__time-picker.pisell-lowcode-picker-large {
    padding: 0 !important;
  }

  &__time-picker .pisell-lowcode-picker-input,
  &__time-picker .ant-picker-input {
    width: auto;
  }

  &__time-picker .pisell-lowcode-picker-input > input,
  &__time-picker .ant-picker-input > input {
    width: 5ch;
    min-width: 5ch;
    flex: 0 0 5ch;
    color: #fff !important;
    font-size: 16px;
    font-weight: 900;
    text-align: right;
    cursor: pointer;
  }

  &__time-picker .pisell-lowcode-picker-suffix,
  &__time-picker .ant-picker-suffix {
    color: #60a5fa;
    font-size: 18px;
  }

  &__footer {
    flex: 0 0 auto;
    padding: 8px;
  }

  &__complete-all {
    width: 100%;
    min-height: 44px;
    border: 1px solid #7f56d9;
    border-radius: 10px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
  }

  &__complete-all:not(:disabled):hover {
    background: rgba(127, 86, 217, 0.16);
  }

  &__complete-all:disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }
}

.pisell-sale-detail-dish__time-popover.select-time-popover--dark {
  z-index: 1800 !important;
}
