.pisell-line-item-wrapper {
  border-radius: 12px;
  background: var(--Base-White, #fff);
  border: 1px solid var(--Gray-300, #d0d5dd);
  overflow: hidden;
}

.pisell-line-item {
  padding: 0;
  border-radius: inherit;
  user-select: none;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  cursor: pointer;

  &__delete-btn {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    > span {
      color: currentColor;
      font-size: 20px;
    }
  }

  &__swipe-delete {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    padding: 10px 0;
    gap: 4px;

    > span {
      font-size: 12px;
      font-weight: 500;
    }
  }

  &__swipe-delete-icon {
    font-size: 20px;
    line-height: 1;
  }

  &__booking-header {
    background: var(--pisell-line-item-header-color, #2453a6);
    padding: 10px 12px;
  }

  &__booking-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  &__booking-title {
    min-width: 0;
    color: #101828;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: 0.02em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &__booking-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  &__status {
    border: 1px solid #0f1d40;
    border-radius: 8px;
    background: #0f1d40;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 34px;
    min-width: 104px;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    cursor: pointer;
    flex-shrink: 0;

    .pisell-lowcodeicon-down,
    .anticon {
      font-size: 12px;
    }

    &:disabled {
      cursor: default;
    }
  }

  &__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--pisell-line-item-status-color, #91caff);
    flex-shrink: 0;
  }

  &__status-label {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &__booking-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px 24px;
    padding: 8px;
    background: #fff;
  }

  &__booking-field {
    min-width: 0;
  }

  &__booking-field-label {
    margin-bottom: 4px;
    color: var(--Gray-500, #667085);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    > span:first-child {
      font-size: 14px;
      line-height: 1;
    }
  }

  &__booking-field-value {
    color: var(--Gray-900, #101828);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &__related-product {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  &__section-title {
    color: #101828;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
  }

  &__related-product-card {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;

    .pisell-cart-sku-card__packages-wrap {
      padding: 0;
    }
  }
}
