.pisell-reservation-schedule {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;

  /**
   * 仅日期文案：无深色 inner 条与箭头（场控顶栏等）。
   * 与预约页 `.pisell-reservation-page-title`（17px）对齐，避免旁侧标题大而日期仍 11px。
   */
  &--label-only {
    justify-content: flex-start;

    .pisell-reservation-schedule-label {
      flex: none;
      text-align: left;
      font-size: 17px;
      font-weight: 600;
      line-height: 1.35;
      padding: 0;
    }
  }
}

.pisell-reservation-schedule-inner {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  max-width: 100%;
  padding: 2px 4px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

.pisell-reservation-schedule-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  flex-shrink: 0;

  &:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
  }

  &:disabled {
    opacity: 0.35;
    cursor: not-allowed;
  }
}

.pisell-reservation-schedule-btn-icon {
  width: 10px;
  height: 10px;
}

.pisell-reservation-schedule-label {
  flex: 1;
  min-width: 0;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pisell-reservation-schedule-label--static {
  cursor: default;
}

/** 弹窗内按月选择：宽度铺满，面板挂载在 Modal 内容区避免层级异常 */
.pisell-reservation-schedule-month-picker-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 280px;
  padding: 4px 0 8px;
}

.pisell-reservation-schedule-label-trigger {
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: rgba(255, 255, 255, 0.92);
  width: 100%;

  &:hover {
    color: #fff;
  }

  &:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.45);
    outline-offset: 2px;
    border-radius: 4px;
  }
}

.pisell-reservation-schedule-date-modal {
  .pisell-lowcode-modal-content {
    padding: 0;
  }

  .pisell-lowcode-modal-header {
    padding: 12px 16px;
  }

  .pisell-lowcode-modal-body {
    padding: 4px 8px 8px;
  }
}
